Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds

Started by Oldiesmann, January 20, 2005, 12:55:32 PM

Previous topic - Next topic

dimkar

Hi,
I am wondering why simple machines RSS feeds not appearing on Internet Explorer as they do on Mozilla Firefox.
Other RSS feeds (especially RDF) do appear in IE in XML format, SMF feeds just show the unknown type thing

try
www.simplemachines.org/index.php?action=.xml;type=rss2

When type is added then IE complains.
Any ideas?
Is it somehow the header of the XML? I have noticed some differences between Simplemachines and other Rdf feeds.

Thanks in advance


dimkar

The same. It opens an unknown file type window.
Only on IE (version 6 - 7)

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting


dimkar

I found the problem , it should be"  elseif ($xml_format == 'rdf') header('Content-Type: text/xml;..."
because in other case it misconfuses IE.

Sarge

Tested and confirmed for RDF. Other feeds work fine on my IE 7.0.5730.11 and MSXML 6.0.1200.0 (Post-SP1).

I filed a bug report.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Nick I

Quote from: Oldiesmann on January 20, 2005, 12:55:32 PM
The default feed is the 5 most recent posts:
http://www.simplemachines.org/community/index.php?action=.xml

Opera doesn't recognise this as an RSS feed - it just displays the raw text and doesn't give the option to subscribe to it.  Any one know how I get it to treat this as it would a downloaded xml  rss feed file?

Ignore this!  I worked it out at last.  I think I need redaing lessons!
Light at the end of the tunnel?
                           . . . only with a telescope!

dimkar

In News.php the header should be changed into "text/xml" if you want rss/rdf feeds appear on IE. Firefox doesn't have any problem.

Nick I

Other than accessing the database or using trial and error, how do you find out what number a particular board is?  I can't see this in the Boards sectionof the admin panel.
Light at the end of the tunnel?
                           . . . only with a telescope!

Oldiesmann

Quote from: Nick I on February 10, 2008, 03:18:08 PM
Other than accessing the database or using trial and error, how do you find out what number a particular board is?  I can't see this in the Boards sectionof the admin panel.

In the URL for the board, the board ID is the part between "board=" and ".".
Michael Eshom
Christian Metal Fans

algo_man

Answer me, please. Why iGoogle reads RSS feeds of closed to guests boards. I deleted all the cookies, and passwords are changed, but iGoogle continues to read, though other RSS-readers (NewsFox) show blank page.

Sarge

Quote from: algo_man on February 22, 2008, 07:21:47 AM
Why iGoogle reads RSS feeds of closed to guests boards.

Why do you think iGoogle can read restricted feeds?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

algo_man

Quote from: Sarge on February 22, 2008, 07:48:03 AM
Why do you think iGoogle can read restricted feeds?
I have done an experiment. I closed all the boards for the guests, closed guests access to the forum, erased cookies, even changed my password, closed Firefox, opened Firefox, and then copied the url of RSS feed, and added it to my iGoogle. iGoogle read new messages from the forum and displayed them on the screen.
I use SMF 1.1.4.

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

algo_man


algo_man

I understood. Google took data from the cache. Now RSS-feed is working correctly.

drummond_consult

I am new to SMF and have been setting up my new forum.  (Version1.1.4) I would like to have topics posted by a RSS feed.  However, I am getting nowwhere.  I have uploaded and trying to use the "Feed Poster Configuration" mod but this is not working either. I also have enabled XML/RSS news in the settings.  Yet I simply cannot get any RSS feeds to post to a board.  Can you please give me step-by-step instructions? 

These are the errors I am getting when I try differnt things...

hxxp:todd-drummond.com/forum/index.php?action=feedsadmin;sa=editfeed2 [nonactive] 
8: Undefined offset: 20
File: /home/toddd0/public_html/forum/Sources/Subs-RSS.php
Line: 141

hxxp:todd-drummond.com/forum/index.php?action=feedsadmin;sa=editfeed2 [nonactive] 
8: Undefined offset: 20
File: /home/toddd0/public_html/forum/Sources/Subs-RSS.php
Line: 141

hxxp:todd-drummond.com/forum/index.php?action=feedsadmin;sa=editfeed2 [nonactive] 
8: Undefined index: id
File: /home/toddd0/public_html/forum/Sources/FeedPoster.php
Line: 264

hxxp:todd-drummond.com/forum/index.php?action=feedsadmin;sa=editfeed2 [nonactive] 
8: Undefined offset: 20
File: /home/toddd0/public_html/forum/Sources/Subs-RSS.php
Line: 141


ArrayInteractive

Brilliant feature! I'm pulling an rss feed of my recent topics and it works like a charm!

I was all set to go database hacking to create my own feeds, glad I discovered it's actually a built in action! In fact it seems like everything I think I need to hack into the forum, it either already does it, or someone has built a mod for it.

Best forum app ever!

Thanks folks!

Now off to find some banner serving mods...
smf 2.0.2

Advertisement: