INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Interact RSS feed problem  (Read 8776 times)

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Interact RSS feed problem
« on: August 03, 2005, 03:40:07 pm »

Great to see an Interact newsfeed set up, but at the moment I'm getting a 'feed parse error' using the Sage plugin for Firefox..

Michel Lefebvre

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 281
Re: Interact RSS feed problem
« Reply #1 on: August 03, 2005, 03:54:54 pm »

I'm also happy to see Interact as an RSS feed. Finally a good reason for me to use RSS :-)

But I'm also getting an error: "Server was found but Internet adress you submitted does not contain feed subscription information".

Using Feedreader 2.90.

Michel.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Interact RSS feed problem
« Reply #2 on: August 03, 2005, 03:58:26 pm »

It's been running for months without problem reports, but maybe nobody used it.

Here's what I posted in the FAQ today:

Interact Available as RSS Feed
http://yabb.jriver.com/interact/index.php?action=.xml;sa=news

beatnik (below) found that this worked:
http://yabb.jriver.com/interact/index.php?action=.xml;type=rss;sa=news
Logged

Michel Lefebvre

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 281
Re: Interact RSS feed problem
« Reply #3 on: August 03, 2005, 04:03:11 pm »

Hi Jim!

That's where I found it today....

Maybe I'm just doing something wrong. I never used RSS before...

What I did was pasted
http://yabb.jriver.com/interact/index.php?action=.xml;sa=news
in Feedreader when it asks for "location of feed". Is that what one is supposed to do?

M.
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: Interact RSS feed problem
« Reply #4 on: August 03, 2005, 05:05:38 pm »

Can't seem to get it to work either  :(
Logged

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Interact RSS feed problem
« Reply #5 on: August 03, 2005, 05:54:00 pm »

It's been running for months without problem reports, but maybe nobody used it.

Here's what I posted in the FAQ today:

Interact Available as RSS Feed
http://yabb.jriver.com/interact/index.php?action=.xml;sa=news

That's the link that led me to posting this thread   ?

In firefox I have 2 plugins that allow me to view newsfeeds; neither of them can read the Interact one.  Also, firefox automatically displays an icon for pages with newsfeed links on them, (see image - the orange icon), and it doesn't come up for any Interact page...



Can't wait til it does work, though!  :)

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Interact RSS feed problem
« Reply #6 on: August 04, 2005, 07:19:44 pm »

Any news ;D on this one?

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Interact RSS feed problem
« Reply #7 on: August 05, 2005, 08:20:52 am »

I've done some digging, and though I don't understand half of it, here's what I found:

The only data source information in the code for the feed is this:
Code: [Select]
<smf:xml-feed xmlns:smf="http://www.simplemachines.org/" xmlns="http://www.simplemachines.org/xml/news" xml:lang="en-US">
When I tried to view the page in a dedicated RSS reader, it failed and offered me the chance to validate the feed on 'feedvalidator.org'.  The link it tested was http://www.simplemachines.org/xml/news, and the result was:
Quote
This feed does not validate.
    *
      Feeds should not be served with the "text/plain" media type [help]
    *
      line 1, column 0: XML parsing error: <unknown>:1:0: no element found [help]

If you click the tested link, you get to a basic directory, which contains no data.

It's been running for months without problem reports, but maybe nobody used it.
JimH, can you access it?  If so, what are you using to view it?  I just tried the 'Pluck' plugin for IE6, and couldn't view it with that either.  :'(

IlPadrino

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 496
Re: Interact RSS feed problem
« Reply #8 on: August 06, 2005, 01:11:55 am »

The feed, which starts with <smf:xml-feed xml:lang="en-US"> as the root element is not:

1)  RSS 1.0 (which starts with<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/">)

2)  RSS 2.0 (which starts with <rss version="2.0">)

3)  Atom 1.0 (which starts with <feed xmlns="http://www.w3.org/2005/Atom">)

I'm not sure what SMF is trying to generate, but it doesn't seem to be a standard syndication feed dialect/format.
Logged

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Interact RSS feed problem
« Reply #9 on: August 06, 2005, 07:14:17 am »

I'm not sure what SMF is trying to generate

'smf' stands for Simple Machines Forum; see http://www.simplemachines.org

I guess J River is using this program to generate the feed.

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Interact RSS feed problem
« Reply #10 on: August 06, 2005, 07:37:47 am »

I have no idea what is wrong, but a search for "RSS feed" seems to return eight pages of threads in the Simple Machines' own user forum:

http://www.simplemachines.org/community/index.php?action=search2;search=RSS+feed

Perhaps the answer can be found there.  ::)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Interact RSS feed problem
« Reply #11 on: August 06, 2005, 07:41:17 am »

I have No Idea What RSS Is

When Someone Finds Out And How It Works Let Me Know Step by Step

I Have A Problem With Following Directions, So Please Use Pictures.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Interact RSS feed problem
« Reply #12 on: August 06, 2005, 08:15:21 am »

I'd describe it as a condensed automated way of presenting the information from a number of web sites/feeds in a single application.  You can see, for example, the new Interact threads as they appear, along with threads from other sites, news articles, etc, all in a single application.

The application is called an RSS reader and it checks all the sites you've subscribed to, without your having to check.

Personally, I don't see the point, but who am I to say?
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Interact RSS feed problem
« Reply #13 on: August 06, 2005, 08:34:18 am »

I see.

I guess it would come in handy for some
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

IlPadrino

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 496
Re: Interact RSS feed problem
« Reply #14 on: August 06, 2005, 11:43:14 pm »

Here's my explanation...

RSS is a general term for an XML dialect (i.e. a set of rules for how an XML must be formed) that is used for syndication.  Actually, there are many RSS dialects (RSS 0.90, RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0 and RSS 2.0) and they are not supported by the same people.  RSS 1.0 and RSS 2.0 are competing standards because 1.0 is RDF-based as supported by the RSS Dev Group and 2.0 is UserLand's improvement on 0.94 because they were unhappy with RSS 1.0 path.  And to make things even more confusing (yet again), there's another competing standard called Atom.  There is lots of debate on comparing RSS 2.0 and Atom 1.0 - read http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared for a sample.  OK...  but, really, who cares about this except those people that have to choose which dialect to create?  And, luckily, almost no one does this by hand because most applications do it for you.  Lots of syndicists (is that a word?) even produce two or three formats so they can make everyone happy.

To make it easy, let's just call all these general formats "RSS" and agree it can be thought of as "Really Simple Syndication".  But I still haven't said "what" RSS is in a way that is easily understood.  So how about an example?  Here's a sample of an Atom feed:
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

 <title>Example Feed</title>
 <subtitle>Insert witty or insightful remark here</subtitle>
 <link href="http://example.org/"/>
 <updated>2003-12-13T18:30:02Z</updated>
 <author>
   <name>John Doe</name>
   <email>johndoe@example.com</email>
 </author>
 <id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id>

 <entry>
   <title>Atom-Powered Robots Run Amok</title>
   <link href="http://example.org/2003/12/13/atom03"/>
   <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
   <updated>2003-12-13T18:30:02Z</updated>
   <summary>Some text.</summary>
 </entry>

</feed>

And here's a sample of an RSS feed:
Code: [Select]
<rss version="0.91">
  <channel>
    <title>XML.com</title>
    <link>http://www.xml.com/</link>
    <description>XML.com features a rich mix of information and services for the XML community.</description>
    <language>en-us</language>
    <item>
      <title>Normalizing XML, Part 2</title>
      <link>http://www.xml.com/pub/a/2002/12/04/normalizing.html</link>
      <description>In this second and final look at applying relational normalization techniques to W3C XML Schema data modeling, Will Provost discusses when not to normalize, the scope of uniqueness and the fourth and fifth normal forms.</description>
    </item>
    <item>
      <title>The .NET Schema Object Model</title>
      <link>http://www.xml.com/pub/a/2002/12/04/som.html</link>
      <description>Priya Lakshminarayanan describes in detail the use of the .NET Schema Object Model for programmatic manipulation of W3C XML Schemas.</description>
    </item>
    <item>
      <title>SVG's Past and Promising Future</title>
      <link>http://www.xml.com/pub/a/2002/12/04/svg.html</link>
      <description>In this month's SVG column, Antoine Quint looks back at SVG's journey through 2002 and looks forward to 2003.</description>
    </item>
  </channel>
</rss>

These are manners of representing written items (or entries) in a way that provides the content, but not presentation.  And, to me, this is the fundamental "so what?" answer to why you should care about RSS.  Separation of content and presentation allows the consumer (I think of people as "consuming" RSS feeds) to decide how they want to see the information.  If you're interested in hearing more about my thoughts on separating content and presentation, let me know and I'll oblige.  But in short, I can choose to present the RSS feed in a way that lets we consume hundreds (literally!) of feeds a day in a short amount of time.  I could never visit 100 websites a day, that's for sure.  As I'm consuming these feeds, I might choose to present some classes (i.e. forum extracts) different from others (i.e. news items).

Anyway...  back to RSS.  What you don't see in the above samples is something that RSS does that relates directly to us MC users:  enclosures!  Enclosures - as in a link to some other file.  RSS 2.0 allows a single enclosure (there is an <enclosure> element) whereas Atom 1.0 allows multiple enclosures (via <link> elements).  These enclosures can be anything, but practically they are almost always audio files (MP3s) and when they're used the RSS feed is considered a "podcast".

The biggest shortfall from my perspective is that there's no way to relate RSS items hierachically.  So it can't replace things like NNTP and it's a bit of a kludge for reading forums.  I'm not sure this will ever be addressed, because most things published as RSS don't care about hierarchy.

RSS aggregators (I don't like the term "RSS readers") collect these RSS feeds and organize them in a way that lets you tell which items you've already seen.  Remember, a single RSS feed can have hundreds of items in it and you have to have some way of keeping track of which ones you've read.  I'm a great fan of FeedDemon (Nick Bradbury is the best software creator I've ever known!) even though it's gone the way of a subscription model.  Take a look at http://www.bradsoft.com/feeddemon/screenshots/ for some screenshots.

I'm sorry I didn't have time to make this post shorter...
Logged

Beatnik62

  • Junior Woodchuck
  • **
  • Posts: 73
  • I like music ...
Re: Interact RSS feed problem
« Reply #15 on: August 07, 2005, 08:02:44 am »

Can't seem to get it to work either  :(


I have got it to work.   ;D

After a little research in the forum on http://www.simplemachines.org I found a hint (here).  Modify the url given by Jim in this way http://yabb.jriver.com/interact/index.php?action=.xml;type=rss;sa=news and you will be able to use the Feed too. For me than it's working with Feedreader and RSS Bandit.

Beatnik
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Interact RSS feed problem
« Reply #16 on: August 07, 2005, 08:34:42 am »

Thanks for the research and the report.  I modified my first post.
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: Interact RSS feed problem
« Reply #17 on: August 07, 2005, 10:21:21 am »

Thanks Beatnik62
Logged

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Interact RSS feed problem
« Reply #18 on: August 07, 2005, 05:53:35 pm »

Wayhey! Got it too!  Good man Beatnik62!

Now; any chance you could give us more than just 5 recent posts, JRiver - say, 20?

Also, how often is it updated?  Looks like at least 2 hours at the moment; what about increasing the frequency?

 ;D

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Interact RSS feed problem
« Reply #19 on: August 07, 2005, 06:43:05 pm »

Thanks Beatnik62!  I'm glad my Live Bookmark for Interact will work again!

I second EpF's request.  20 sounds about perfect.  (Increasing the update freq would be nice too, but don't stress if it's too hard.)

Personally, I don't see the point, but who am I to say?

If you haven't before tried out FireFox's Live Bookmark feature, I would say that this is a very significant use of RSS Feeds.  Until I had used them for a little while, and looked at RSS feeds much in the way Jim described them, I never really saw the point.  It seemed like a glorified way to make a super "start page" to the internet, which I never really cared for, and it seemed like far too much work to deal with it.  However, Live Bookmarks are sweet (and mind-numbingly easy to use especially if you get the Right-Click Live Bookmark This extension).

I don't know about many of you, but I often use the web for following the news (both regular news and tech-news), and tracking developments and new stories on a group of web sites.  Before I started using Live Bookmarks, I often found myself visiting a few specific sites, and checking out to see if anything new was available, then checking back later.  Think about sites like Anandtech, Ars Technica, CNN, BBC News, NPR, Tech Report, CNET News, Slashdot, and Interact.  Live Bookmarks allow me to check a lot more sites in a lot less time.  I can simply check through my bookmarks for the new "headlines".  If nothing there interests me, or nothing is new, I move on to the next site, but I can do this without even waiting for the pages to load and in a quick, concise format.  And often, if I find something interesting I right-click Open in a New Tab, and still move on.  Once I've made my "rounds" if you were, I browse the few interesting Tabs I've opened up.

Once you start using them, you can't believe the amount of time they save!  Definately worth checking out.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Interact RSS feed problem
« Reply #20 on: August 07, 2005, 07:18:01 pm »

Now; any chance you could give us more than just 5 recent posts, JRiver - say, 20?

Also, how often is it updated?  Looks like at least 2 hours at the moment; what about increasing the frequency?
I've asked Bob to look at this problem this week.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: Interact RSS feed problem
« Reply #21 on: August 08, 2005, 10:40:47 am »

I've upped the feed to 20. I did have to stop and restart my browser for it to take effect. I'm looking into the time interval...
Logged

Beatnik62

  • Junior Woodchuck
  • **
  • Posts: 73
  • I like music ...
Re: Interact RSS feed problem
« Reply #22 on: August 08, 2005, 11:14:35 am »

I've upped the feed to 20. I did have to stop and restart my browser for it to take effect. I'm looking into the time interval...

Thanks Bob.

Yep, I can confirm, now there are 20 post out of the Media Center forum. Is there also a possibility to get posts which following existing threads ? Because, currently the Feed shows only really new posts (starting a thread) and not followups of the 'old' ones. Please, maybe we can get that for the other forums too. (specialy the Third Party Plug-ins, Programs, and Skins forum)   :)

Thanks,

Beatnik
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: Interact RSS feed problem
« Reply #23 on: August 08, 2005, 11:27:42 am »

How about now? I changed it to get the "last" (most recent I assume) post first.
Logged

Beatnik62

  • Junior Woodchuck
  • **
  • Posts: 73
  • I like music ...
Re: Interact RSS feed problem
« Reply #24 on: August 08, 2005, 11:32:50 am »

Thank you Bob

Wow, great, wonderful, exactly what I want. I am happy.  :D

Beatnik
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Interact RSS feed problem
« Reply #25 on: August 08, 2005, 11:38:17 am »

It is much better now. Thanks.




Using Opera 8.02 as a reader.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Interact RSS feed problem
« Reply #26 on: August 08, 2005, 12:20:05 pm »

That's great!  Thanks Bob!

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: Interact RSS feed problem
« Reply #27 on: August 08, 2005, 12:58:02 pm »

It looks like the interval for the query on rss is not determined by the feed, rather the browser or reader. I dug this out for mozilla based stuff...
do the following url:

about:config

right click in the page and do new->integer
add the value:
browser.bookmarks.livemark_refresh_seconds
and set the value to 1800 (1/2 hour). Seems to work for me.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Interact RSS feed problem
« Reply #28 on: August 08, 2005, 03:57:20 pm »

Thanks for fixing this Bob.  This made my Live Bookmark for Interact much more useful.

Good work!
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

IlPadrino

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 496
Re: Interact RSS feed problem
« Reply #29 on: August 08, 2005, 10:58:36 pm »

I meant to send this sooner, but I caught up...  I think you'll find the following information from http://www.simplemachines.org/community/index.php?topic=25009.0 useful:

Quote
All of the XML content is accessed via the ".xml" action... To get RSS or RSS2 out of that (not viewable in most browsers), add ";type=rss" or ";type=rss2" to that URL.

The default feed is the 5 most recent posts:
http://www.simplemachines.org/community/index.php?action=.xml

There are several "sub-actions" available to this action, specifying exactly what to display:

Recent Posts (displays the most recent posts that you can see)
"Sub-action": recent
Default: Shows 5 most recent posts
Available options:
limit=x - display the "x" most recent posts (if number is less than 5, it will display 5. If number is larger than 255, it will display 255).
board=y - display only the recent posts from board "y"
Example: http://www.simplemachines.org/community/index.php?action=.xml;sa=recent;board=72;limit=10

News (displays the first post from the most recent topics that you can see)
"Sub-action": news
Available options:
limit=x - display only "x" items
board=y - display only news topics from board "y"
Example: http://www.simplemachines.org/community/index.php?action=.xml;sa=news;board=72;limit=10

Members (displays most recent members) - note: There is a bug in the current version of SMF that prevents this from working right - see Latest Members XML Problem for the fix
"Sub-action": members
Available options:
limit=x - display only the "x" most recent members
Example: http://www.simplemachines.org/community/index.php?action=.xml;sa=members;limit=10

Profile (displays the "profile summary" data in a nice XML feed for the specified user)
"Sub-action": profile
Required option:
u=x - display the profile info for user whose ID is "x"
Example: http://www.simplemachines.org/community/index.php?action=.xml;sa=profile;u=150

Now - you're probably wondering what you can do with this. Quite a bit actually.

You can syndicate this stuff by giving people these URLs to use on their sites (they will need to have their own RSS parser to deal with it though - CaRP is a good free one (requires PHP)). You can also use PHP's XML Parser Functions to format the output the way you want it (although you can also do this using SSI.php).

You can also subscribe to these feeds through an XML reader, Firefox, Thunderbird or any other software that supports XML or RSS feeds (note - Outlook and Outlook Express do not support this...) - you will need to have either "type=rss" or "type=rss2" somewhere in the URL for it to work. If you would like to know how to set this up in Firefox or Thunderbird, let me know. Enjoy!

Regarding the boards, the following numbers apply:
  Media Jukebox (2)
  Media Center (3)
  Legal Music and Movie Services (4)
  Third Party Plug-ins, Programs, and Skins (5)
  Plug-in Development (6)
  TiVo Discussion (7)
  Portable Digital Players (iPod, Nomad, etc) (8)
  Sound Cards and Speakers (9)
  Other Hardware (10)
  TV Cards and TV's (11)

Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: Interact RSS feed problem
« Reply #30 on: August 09, 2005, 11:46:33 am »

Quote
Any chance the title could be changed to 'Interact Forum' rather than: 'INTERACT FORUM' which is a bit rude to be shouting
There should be a way to rename the feed within the feed reader you are using.
Logged
Pages: [1]   Go Up