A few weeks ago, Marius Dumitru Florea<http://jira.xwiki.org/jira/secure/ViewProfile.jspa?name=mflorea>posted this helpful hint in response to my question http://n2.nabble.com/support-for-google-sitemaps-and-webmaster-tools--%28and-why-do-xwiki-RDF%27s-give-%22unsupported-file-format%22-%29-tp2468754p2489940.htmlsuggesting I look at http://jira.xwiki.org/jira/browse/XWIKI-2149?focusedCommentId=25334&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_25334and http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/feed/FeedPluginApi.java
FYI, it turns out this issue is also the source of bugs that might occur in a few places in the 1.8 final XAR, including the search-document's search-feed URL, for example: http://jira.xwiki.org/jira/browse/XE-400 The following issue has been reopened. *Author:* Niels Mayer, > http://nielsmayer.com<http://jira.xwiki.org/jira/secure/ViewProfile.jspa?name=nielsmayer> > *Date:* 02/Apr/09 18:50 > *Comment:* > I have updated all my sites to 1.8 final and the problem persists. This > lists exactly what has been updated in the 1.8 final XAR: > http://morgellonswiki.info/xwiki/bin/view/XWiki/Import > > For example, in > http://morgellonswiki.info/xwiki/bin/view/Main/WebSearch?text=lyme&x=0&y=0 > note that you go to the URL > http://morgellonswiki.info/xwiki/bin/view/Main/WebSearchRss?xpage=rdf&text=lyme > when you click the URL button. > > In my browser (firefox 3.0.8) that link displays as an XML file. > > By doing > http://morgellonswiki.info/xwiki/bin/view/Main/WebSearchRss?xpage=plain&text=lyme > > It displays correctly as other feeds do. In addition to my browser, other > sites also get errors from using the xpage=rdf form of the feed URL. > > I believe the issue here, and it doesn't just occur in this one place, but > occurs in numerous places across Xwiki, is that the format for feed URL's > has changed. Yet many of the documents in the 1.8 Xar still have not been > converted to the new feed format: > > > http://xwiki.markmail.org/message/54t4i2qt6cnnod7l?q=%5Bxwiki-devs%5D+%5BProposal%5D+new+%22/plain/ > Yesterday I've applied Marius's XWIKI-2149<http://jira.xwiki.org/jira/browse/XWIKI-2149>patch "Extend the FeedPlugin to allow the creation of RSS/Atom feeds from any source". New RSS urls with this revamped mechanism are of the type "/xwiki/bin/view/Space/DocRss?xpage=plain" (while the current way is /xwiki/bin/view/Space/DocRss?xpage=rdf"). I propose we add an action that return the "plain.vm" velocity template as entry point to render the document, and map a new "/feed/" action to it. This would allow us for example to have a blog feed URL like this : "/xwiki/bin/feed/Main/BlogRss" when the blog will actually use this new mechanism for its feed. I would also like to map an action with a more generic name to it, like "/plain/". "xpage=plain" is for example used when we create pseudo-REST web services (for example, all the AJAX/gridview features in XE do use URLs of that type). I believe it would be nice to have in the service request URL only parameters linked to the actual service. Thus I would propose we have something like "/xwiki/bin/plain/XWiki/MyService?myparam1=myvalue&..." ............. Unlike search, the tags document displays an "rdf" style feed which does display correctly in Firefox: http://morgellonswiki.info/xwiki/bin/view/Main/Tags?action=viewTag&tag=Lyme displays "RSS Feed" link http://morgellonswiki.info/xwiki/bin/view/Main/TagsRss?xpage=rdf&tag=Lyme [ Show ยป <http://jira.xwiki.org/jira/browse/XE-400> ] Niels Mayer, http://nielsmayer.com<http://jira.xwiki.org/jira/secure/ViewProfile.jspa?name=nielsmayer>added a comment - 02/Apr/09 19:07 Unlike search, the tags document displays an "rdf" style feed which does display correctly in Firefox: http://morgellonswiki.info/xwiki/bin/view/Main/Tags?action=viewTag&tag=Lymedisplays "RSS Feed" link http://morgellonswiki.info/xwiki/bin/view/Main/TagsRss?xpage=rdf&tag=Lyme Niels http://nielsmayer.com _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users