Forums | Mahara Community

Support /
RSS feeds


anonymous profile picture
Account deleted
Posts: 6

19 January 2009, 14:29

hey,

thanks for this great software, I really love it!

is it normal that Flickr and Blogspot RSS and ATOM does not work when using RSS feeds in a profile?

 best,

Daniel

anonymous profile picture
Account deleted
Posts: 1643

20 January 2009, 2:50

Hi - no, that doesn't sound normal - what kind of error messages or strange behaviour are you seeing when trying to use those RSS feeds? Does Mahara work with other RSS feeds?
anonymous profile picture
Account deleted
Posts: 5

22 January 2009, 6:30

Hi,

i always get an error when i try to add an atom-feed from friendfeed (using Mahara 1.0.6),

e.g.: http://friendfeed.com/rooms/plone?format=atom

It seems that the Insert-Statement produces an error, but i can't figure out why.

Helmut

anonymous profile picture
Account deleted
Posts: 1643

22 January 2009, 7:07

There is a couple of different errors in that log. One of them suggests that a feed you've added might be invalid XHTML, while another suggests that the feed is not UTF8 encoded. Unfortunately Mahara doesn't convert input from RSS feeds to UTF8, so I imagine that feeds using some different encodings will break.
anonymous profile picture
Account deleted
Posts: 5

22 January 2009, 7:26

Thanks for your quick answer!

Helmut

anonymous profile picture
Account deleted
Posts: 6

26 January 2009, 7:18

thanks for quick reply, I found that some RSS get pulled and showed (like deviantart) while some doesn't (blogspot). how can I can fix that?

feed for below is http://mugodzilla.deviantart.com/gallery/

feed for below is  http://raklap.blogspot.com/feeds/posts/default


anonymous profile picture
Account deleted
Posts: 1643

26 January 2009, 18:03

Hi. I tried your first link, which is an HTML page with no RSS feeds on it, other than the rel="alternate" one, which is http://backend.deviantart.com/rss.xml?q=gallery%3Amugodzilla%2F2500238&type=deviation&offset=0 . That feed loaded fine for me, although it has no pictures in it.

The second one loaded fine for me, it has a picture of a dog and a train, among other things.

So I'm not sure why your blogspot one would be broken - maybe you loaded the feed at a time that it was broken for some reason. We might have to add support to clear the RSS cache at some point...

anonymous profile picture
Account deleted
Posts: 6

27 January 2009, 15:03

hi.

first link: sorry, I messed up copy-pasting, the actual RSS is http://tyrell.hu/~b2men/deviantart.php?artist=mugodzilla that works with http://www.joeterranova.net/2008/02/11/rss-feed-generator-for-deviantart/

blogspot feed not was broken, worked fine with Google Reader.

currently what I see is:

- deviant art feed generator works fine

- wordpress.com works almost (no pics)

- flickr.com, google reader share doesn't work at all (doesn't get fetched)

 how can we start out solving this? if you point out to some directions we'll get busy fixing it

anonymous profile picture
Account deleted
Posts: 1643

28 January 2009, 4:02

Hi, I just tried your deviantart feed and it worked for me too, so I guess that one is fine.

The code for reading RSS feeds is in blocktype/externalfeed/lib.php - you can start looking in there. There's also a library for parsing RSS feeds in lib/pear/XML/Feed/Parser. Don't forget to check your error log to see what messages are being sent there.

anonymous profile picture
Account deleted
Posts: 6

11 February 2009, 7:26

I did some analysis of the working and non-working RSS feeds and I found that

 <title>, <link>, <description> from <item> gets displayed,

but <entry> is totally skipped.

17 results