Backstage BBC RSS Feeds - نوشته شده در (876 Views)
Senior Member
MarkJH
مطلب: 1722
1722
I wonder if it's possible to do something like this with Snitz?
Seen it at work on a couple of Invision boards and it looks like a great little add on.<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
Marcel's done this over at Oxle but I can't for the life of me find the topic here (it's been a looooong week), try having a quick search 'round yourself, see if you can dig it up.
<edit> And, as I say that, I find it here! tongue </edit>

<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
Senior Member
MarkJH
مطلب: 1722
1722
Yes, but how easy would it be to have the feeds posted as topics in the forum by a 'member' (the RSS robot) and then people could comment on the news stories, just as they would reply to a topic in here?<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
Ah, OK, now I get you (like I said, looong week! wink). Thinking out loud, it shouldn't be too difficult, create a new user (RSS Robot in this case) to post the feeds under and run a script once a day to grab the necessary articles and insert them in the database under that user's MEMBER_ID.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
Senior Member
MarkJH
مطلب: 1722
1722
Cool. I guess the script could be altered to run every half hour or so, too?
*Mark waits for some skilled MOD programmer to think "hmm, good idea!" and take this project on*
wink<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
Ay, you could run it as often as you liked.
*Shaggy waits for some skilled XML programmer to take this project on!*

<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
Support Moderator
Podge
مطلب: 3776
3776
Its not as simple as you'd think. You can never be sure what is going to be in those feeds. XML isn't that hard really you just use a parser to iterate through each element and do stuff depending on each element.

Things you need to think about. Are all xml feeds going to be using the same format (there are different rss versions)
Do the xml feeds have all the text you will need to make the post (some may be brief summaries)
Will you have to strip html & other stuff ?
This article might help - http://www.15seconds.com/issue/990527.htm<
 
شما باید یک متن وارد کنید