Lately it seems I am blind, at least temporary.

Well, I saw that the RSS fees were available in the Wiki Front Page but because I redirect my readers directly to the Blog page I also was looking there for the RSS feed. So I took your code (the Blog feed), added it to the header and, voila, it worked.

Thanks a million.

BTW when I am already here shall I update the wiki on:

        http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication

change the code snippet there?

Andreas Schaefer
CEO of Madplanet.com Inc.
Email:  [email protected]
                [email protected]
Twitter;        andy_mpc
AIM:    [email protected]

On Jun 5, 2009, at 4:11 PM, Guillaume Lerouge wrote:

Re re,

On Fri, Jun 5, 2009 at 4:07 PM, Guillaume Lerouge <[email protected]>wrote:

Re,

On Fri, Jun 5, 2009 at 4:06 PM, Guillaume Lerouge <[email protected] >wrote:

Hi Andreas,

On Fri, Jun 5, 2009 at 3:53 PM, Andreas Schaefer <[email protected]>wrote:

Hi

I have a blog up and running with XWiki (http://madplanet.com/blog)
but I have problems to create an RSS feed for it.

I tried to use the snippet on:

      http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication

but that does not work. The resulting XML is empty (only the XML
header is there).


Weird, in a fresh install I have the icon and it redirects to
http://localhost:8080/xwiki/bin/view/Blog/GlobalBlogRss? xpage=plain which
gives me an RSS feed of blog articles out of the box...

Did you modify / import some files along the way when setting your wiki
up?

Guillaume


Actually you do have a RSS feed for your blog already ;-)

http://madplanet.com/xwiki/bin/view/Blog/GlobalBlogRss?xpage=plain

Guillaume


To add the RSS icon at the top of the page, go to

http://madplanet.com/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Presentation

and replace the following content at the bottom of the textarea next to HTTP
Meta Information :

#if($doc.fullName != "XWiki.XWikiLogin")
<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS"
href="$xwiki.getURL('Main.WebRss', 'view', 'xpage=rdf')" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed"
href="$xwiki.getURL('Blog.GlobalBlogRss', 'view', 'xpage=plain')" />
#end

This should do the trick.

Guillaume





Using the Blog Category Panel gives me links to the the Category Feeds
but these feeds all point to the category 'Personal' no matter what
category I put into.

Could that be an issue with an outdate document (from 1.8 or so) ?

How would I create a RSS Feed for the entire blog (all categories) and more specific is there a way to make the RSS feed symbol come up (on the Main.Blog site) in the address bar (blue-white RSS symbol on the
right hand side) ?

Thanks

Andreas Schaefer
CEO of Madplanet.com Inc.
Email:  [email protected]
              [email protected]
Twitter;        andy_mpc
AIM:    [email protected]

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs




--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/




--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/




--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to