News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

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

PurpleCrow

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

hachik0

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.

dior1

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?

Gryzor

Quote from: PurpleCrow on June 15, 2010, 11:19:49 AM
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! :)

cyoc

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...  ::)

cyoc

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)

jay.clark

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)

colorexperts



Dzonny

I cant find a way to work this out. feedburner report error with xml:
QuoteThe 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? :)

metro

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.


Paracelsus

Quote from: Dzonny on August 04, 2010, 05:59:53 AM
I cant find a way to work this out. feedburner report error with xml:
QuoteThe 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.

metro

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]/>])

Paracelsus

Quote from: metro 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]/>])

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.

Paracelsus

Quote from: metro 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]/>])

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

Dzonny

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?

metro

Paracelsus

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

thanks

Paracelsus

Quote from: metro on August 09, 2010, 09:30:42 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.

metro

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

Paracelsus

Quote from: metro 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

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

Advertisement: