Is there any easy way to change the timestamp format in the rss feed
which gets generated without modifying xwiki source code?
The field
<dc:date>Tue Jun 28 16:31:33 PDT 2005</dc:date>
should have been formatted as per the dateTime spec at
http://www.w3.org/TR/xmlschema-2/#dateTime
The current behavior seems to throw off the date/time sorting in RSS
readers as they just ignore the value.
A SimpleDateFormat conversion has been given here..
http://lists.xml.org/archives/xml-dev/200311/msg00153.html
which uses the format
"yyyy-MM-dd'T'HH:mm:ss,SSS'Z'"
Any thoughts?
-Sudhir
Hello:
I´m using Xwiki and I have read the documentation but I have two questions:
1. I need to dynamically group wiki entries using a wikipedia like category tag. Example:
--- MySpace.Rabbit
[Category: Animals]
On another entry
--- MySpace.Horse
[Category: Animals]
In wikipedia the category tag automatically adds these two entries in the Animals Category. One entry can belong in many categories (which rules out using xwiki spaces. Any tips on implementing this?
2. Im new to portlets and I´m using liferay as a portlet engine. How could I adapt Xwiki as a portlet? It´s listed as a future but I haven´t seen any documentation about it!
Thanks in advance!
Hello:
I�m using Xwiki and I have read the documentation but I have two questions:
1. I need to dynamically group wiki entries using a wikipedia like category tag. Example:
--- MySpace.Rabbit
[Category: Animals]
On another entry
--- MySpace.Horse
[Category: Animals]
In wikipedia the category tag automatically adds these two entries in the Animals Category. One entry can belong in many categories (which rules out using xwiki spaces. Any tips on implementing this?
2. Im new to portlets and I�m using liferay as a portlet engine. How could I adapt Xwiki as a portlet? It�s listed as a future but I haven�t seen any documentation about it!
Thanks in advance!
Hi,
I've protected various spaces in my wiki to be viewed only by
people in the
specified group. To not show the links in the menu, I've included the
links in
an if clause:
#if($xwiki.xWiki.getRightService().hasAccessLevel("view",
$context.getUser(),"Intranet.Main", $context.context))
* [Intranet>Intranet.Main]
#end
This works fine, when I'm viewing the Menu in Main/WebHome, but as
soon as I decend into
Feedback/Main this entry (and all others which are protected) are not
displayed any more.
Is this the correct way to hide a link?
Thanks
Christian van der Leeden
-----------------------------------------
Christian van der Leeden
Mob: +49-163-3747111
Tel: +49-89-189488-66
leeden(a)logicunited.com
Hello
I've got a xwiki installation that contains vietnamese characters encoded in
UTF-8.
I can see the characters without problem in my browser.
However it seems I canno't generate PDF when there are vietnamese characters.
I've got the below exception in Tomcat. You can test it by your self on
http://www.cosgov.org
Best regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
--
line 5 column 1 - Warning: <html> has XML attribute "xml:lang"
line 49 column 316 - Warning: <table> lacks "summary" attribute
line 54 column 1 - Warning: replacing illegal character code 135
10:07:06,335 WARN TP-Processor17
http://www.cosgov.org/xwiki/bin/pdf/Main/WebHome ViewEditAction:execute:239 -
Uncaught exception: Error number 12003 in 12: XSL Transformation Failed
Wrapped Exception: Invalid byte 3 of 3-byte UTF-8 sequence.
com.xpn.xwiki.XWikiException: Error number 12003 in 12: XSL Transformation
Failed
Wrapped Exception: Invalid byte 3 of 3-byte UTF-8 sequence.
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:169)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:147)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:79)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:108)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:122)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:112)
at com.xpn.xwiki.XWikiService.renderPDF(XWikiService.java:892)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:168)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8 sequence.
at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
...
Hi,
I'm trying to protect different sections from my wiki from being
accessed by all
users. I've created a Group IntranetGroup, (so the page XWiki/
IntranetGroup)
and added myself (XWiki.leeden) to the list.
I've modified the space access rights for Intranet.Main to allow
view,edit,comment for all
users in group XWiki.IntranetGroup. But when I access this page as
user leeden
I can't view it (permission denied). If I add the user XWiki.leeden
directly to the
rights entry, it works. (If I use XWiki.XWikiAllGroup it works fine,
too)
How can I check if I've set up the groups all right? Do I need other
permissions for
the XWiki.IntranetGroup? E.g. is there a way to programmatically (by
velocity template?)
or list in the Users listing all groups a user belongs to?
Thanks
Christian
P.S.: Thanks for the help before
-----------------------------------------
Christian van der Leeden
Mob: +49-163-3747111
Tel: +49-89-189488-66
leeden(a)logicunited.com