Advertisement:

Author Topic: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds  (Read 717012 times)

Offline PurpleCrow

  • Full Member
  • ***
  • Posts: 528
  • Gender: Female
    • Forums Galore
How exactly do I change it so that it shows the last say, 20 posts instead of just 5?

Sorry if this has been covered... I'm using SMF 2.0 RC3
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Offline hachik0

  • Newbie
  • *
  • Posts: 4
would it be possible to have these XML feeds from other sites, and get automatic new topics created in a board that i have specified in SMF. That way, i will have a board inside my forum, that is auto updated on content from other sites' XML. Is that possible? how to make it work? thank you.

Offline dior1

  • Newbie
  • *
  • Posts: 3
Hi, I´ve running the forum within my intranet but I´m not able to but the rss into outlook or easydeskticker.

my request:
hxxp:175.21.50.126/dokuwiki/forum/index.php?type=rss;action=.xml [nonactive]

When I open it in IE it shows me the xml file and format rss version 0,92. with the topics within.

in the reader it gehts: no items found in the rss

what could be wrong?

Offline Gryzor

  • Sr. Member
  • ****
  • Posts: 788
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
How exactly do I change it so that it shows the last say, 20 posts instead of just 5?

Sorry if this has been covered... I'm using SMF 2.0 RC3

Look at the first page, it's covered there! :)

Offline cyoc

  • Newbie
  • *
  • Posts: 2
I'm having a problem on my forum (forum.cyoc.nl) with RSS , it's returning an XML error instead of the feed:

XML Parsing Error: no element found
Line Number 1, Column 1:

I found a post that suggested to disable compression but that didn't solve my problem. The forum is running 1.1.11, any suggestions?

[edit]   I can't post the complete error, I get the message that I'm not allowed to post external links...  ::)

Offline cyoc

  • Newbie
  • *
  • Posts: 2
It seems to be a browser related issue, nog problems when I use FF, the error only occurs in IE (7.6001 is the only one I tested so far)

Offline jay.clark

  • Semi-Newbie
  • *
  • Posts: 96
  • Gender: Male
  • Retired and loving it
    • ExReps - A community for former Tech Reps
How to get RSS feed from sites that require you to be logged in to read forums?

Ok, I am using the RSS feed from my sites to create content that I can add to other sites in various formats.

Any one else who wants to do this is welcome to send me a note and I will share my methods, if enough people are interested I will write it up as an application note and share it here.

These methods only work if the particular forum I want to capture content from has guest access (IE I don't need to have an account on the system that I am pulling content from)

Another (friendly) site that I would like to pull content from requires log in to be able to read the forums. So my process cannot pull content from them.

It seems to me I should be able to add userID passWord information to the string I use to connect to the forum's RSS feed and as long as my account on the target system is in good standing be able to pull content from that system.

Anyone have thoughts on how the string should be structured ? That is how do I add userID and passWord information to the string requesting the RSS feed?

If I have my head where the sun never shines is their any other way to accomplish this ?

jayr

SMF 1.11- SMF 2.0 RC2/RC3 - - RSS Feed Poster 2.2,RSS Feeder 1.1.4, Downloads System Pro 1.0.17.1, SMF Classifieds 1.3.5, SMF Gallery Pro 3.0.2, SimpleDesk - Integrated Helpdesk for Simple Machines Forum 1.0 Felidae, Aeva Media 1.1b, Ultimate Profile     0.9, Google Analytics Code 1.1, Twitter and Facebook Publisher mod 2.4, Stop Spammer 2.3.7, SMF Links 2.2, Site map 2.1.2, AjaxChat Integration 3.2.1, Ad Management 2.3.6

SMF (Donated) SMF Links (donated) - Ad Manager (donated) - phpMyChat (donated)

Offline colorexperts

  • Newbie
  • *
  • Posts: 1
it was really helpful post! thanks a lot for sharing..

Offline jampada

  • Newbie
  • *
  • Posts: 1
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #388 on: August 01, 2010, 06:16:15 AM »
Thanks for sharing    ::) :P

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,151
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #389 on: August 04, 2010, 05:59:53 AM »
I cant find a way to work this out. feedburner report error with xml:
Quote
The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <smf:xml-feed [Namespace: http://www.simplemachines.org/]/>])
Link that ive added:
http://www.samo-opusteno.info/forum/index.php?action=.xml;sa=news;board=50;limit=10

Anyone can point me out what problem is? :)

Offline metro

  • Semi-Newbie
  • *
  • Posts: 35
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #390 on: August 08, 2010, 04:58:55 PM »
I have the same problem Dzonny -- in the past I once had it worked this out but forgot how I did it. I wil be hoping someone know the answer.


Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 876
  • Gender: Male
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #391 on: August 09, 2010, 02:25:44 AM »
I cant find a way to work this out. feedburner report error with xml:
Quote
The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <smf:xml-feed [Namespace: http://www.simplemachines.org/]/>])
Link that ive added:
http://www.samo-opusteno.info/forum/index.php?action=.xml;sa=news;board=50;limit=10

Anyone can point me out what problem is? :)

Try adding ;type=rss to the end of that link.

Offline metro

  • Semi-Newbie
  • *
  • Posts: 35
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #392 on: August 09, 2010, 02:48:25 AM »
adding ;type=rss  did not help feedburner as it does not like seeing html

The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <html [Namespace: http://www.w3.org/1999/xhtml]/>])

Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 876
  • Gender: Male
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #393 on: August 09, 2010, 04:18:02 AM »
adding ;type=rss  did not help feedburner as it does not like seeing html

The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <html [Namespace: http://www.w3.org/1999/xhtml]/>])

Well, I use a link similar to the one you posted with ;type=rss included for new topics in my forum and it works flawlessly, so it must be something with your forum, not with feedburner.

Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 876
  • Gender: Male
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #394 on: August 09, 2010, 04:19:47 AM »
adding ;type=rss  did not help feedburner as it does not like seeing html

The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <html [Namespace: http://www.w3.org/1999/xhtml]/>])

As a matter of fact, I've just created a test feed on feedburner for your forum and look:

http://feeds.feedburner.com/Samo-opusteno-PoznateLinosti

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,151
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #395 on: August 09, 2010, 05:20:04 AM »
Paracelsus, working now as i can see... :)
Just metro's site is not the one that u added at feedburner - its mine. :)
metro, can u leave a link to your forum here?

Offline metro

  • Semi-Newbie
  • *
  • Posts: 35
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #396 on: August 09, 2010, 09:30:42 AM »
Paracelsus

what is the url you used in feedburner to make it work?

thanks

Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 876
  • Gender: Male
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #397 on: August 10, 2010, 02:46:50 AM »
Paracelsus

what is the url you used in feedburner to make it work?

thanks

This one:
http://www.samo-opusteno.info/forum/index.php?action=.xml;sa=news;board=50;limit=10;type=rss

But Dzonny said this is his forum link, not yours, we need to know the link to your forum first.

Offline metro

  • Semi-Newbie
  • *
  • Posts: 35
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #398 on: August 10, 2010, 03:23:35 AM »
Thanks   Paracelsus

I guess yours works because your forum is open - you do not have to register to see it.. mine you do - however in the past I had a feed that worked somehow.

No that is not entirely correct - my feed does still work - in a newsreader you can get the XML fine  but not feedburner. I used your link an it worked but when I put in my site URL no go as it see it as a html page

Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 876
  • Gender: Male
Re: Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds
« Reply #399 on: August 10, 2010, 03:52:58 AM »
Thanks   Paracelsus

I guess yours works because your forum is open - you do not have to register to see it.. mine you do - however in the past I had a feed that worked somehow.

No that is not entirely correct - my feed does still work - in a newsreader you can get the XML fine  but not feedburner. I used your link an it worked but when I put in my site URL no go as it see it as a html page

If your site forum is closed to visitors then feedburner won't work as it (feedburner) receives info as visitor, that's why.