A few weeks ago, Marius Dumitru
Florea<http://jira.xwiki.org/jira/secure/ViewProfile.jspa?name=mflorea&g…
this helpful hint in response to my question
http://n2.nabble.com/support-for-google-sitemaps-and-webmaster-tools--%28an…
I look at
http://jira.xwiki.org/jira/browse/XWIKI-2149?focusedCommentId=25334&pag…
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/…
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…
*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&…
note that you go to the URL
http://morgellonswiki.info/xwiki/bin/view/Main/WebSearchRss?xpage=rdf&t…
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&…
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+%5BPr…
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=…
displays "RSS Feed" link
http://morgellonswiki.info/xwiki/bin/view/Main/TagsRss?xpage=rdf&tag=Ly…
[ Show » <http://jira.xwiki.org/jira/browse/XE-400> ]
Niels Mayer,
http://nielsmayer.com<http://jira.xwiki.org/jira/secure/ViewProfile.jspa…
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=…
"RSS Feed" link
http://morgellonswiki.info/xwiki/bin/view/Main/TagsRss?xpage=rdf&tag=Ly…
Niels
http://nielsmayer.com