Shoutbox

RSS newsfeed to nick? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: RSS newsfeed to nick? (/showthread.php?tid=21050)

RSS newsfeed to nick? by zyfgrea on 02-01-2004 at 02:59 PM

I don't think anyone has suggested this yet, but it would be really cool to have an RSS news feed as your nickname. I don't know if this is possible because the RSS feeds are dynamic so maybe you'd have to download it to a buffer file or something and then make that the nick. Is this possible and if so is anyone willing to make a plugin for it?


RE: RSS newsfeed to nick? by LeCastor2001 on 02-01-2004 at 03:16 PM

It's like Song2Nick, but instead of checking media player's now-playing song, just check a RSS file...

Wouter ? :)


RE: RSS newsfeed to nick? by zyfgrea on 02-01-2004 at 03:17 PM

That's exactly what I had in mind


RE: RSS newsfeed to nick? by optimism_ on 02-02-2004 at 10:49 AM

RSS is an XML document then right?

surely it aint at all difficult to download an RSS file, parse the XML and extract the info you want for a nick..


RE: RSS newsfeed to nick? by bach_m on 02-02-2004 at 11:59 AM

thats the point of XML ;);)

i'm sure it could be done... but i dont know any useful languages, so i cant help/ sry


RE: RSS newsfeed to nick? by stooge on 02-03-2004 at 02:11 PM

What is meant by RSS?? can anyone explane me?


RE: RSS newsfeed to nick? by Tochjo on 02-03-2004 at 03:29 PM

quote:
http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html
RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS: the "recent changes" page of a wiki, a changelog of CVS checkins, even the revision history of a book. Once information about each item is in RSS format, an RSS-aware program can check the feed for changes and react to the changes in an appropriate way.

RSS-aware programs called news aggregators are popular in the weblogging community. Many weblogs make content available in RSS. A news aggregator can help you keep up with all your favorite weblogs by checking their RSS feeds and displaying new items from each of them.
quote:
http://www.webreference.com/authoring/languages/xml/rss/intro/
Really Simple Syndication (RSS) is a lightweight XML format designed for sharing headlines and other Web content. Think of it as a distributable "What's New" for your site. Originated by UserLand in 1997 and subsequently used by Netscape to fill channels for Netcenter, RSS has evolved into a popular means of sharing content between sites (including the BBC, CNET, CNN, Disney, Forbes, Motley Fool, Wired, Red Herring, Salon, Slashdot, ZDNet, and more). RSS solves myriad problems webmasters commonly face, such as increasing traffic, and gathering and distributing news. RSS can also be the basis for additional content distribution services.

RE: RSS newsfeed to nick? by stooge on 02-03-2004 at 05:31 PM

Okay, thanx for the explenation.


RE: RSS newsfeed to nick? by bemeall on 12-15-2004 at 09:15 PM

While I was searching for a solution like this on the internet I came here. I'd like to display a line from an rss feed in a chat conversation on typing a commando. This file is located on my own harddisk if that could make it easier.
I think this topic points a bit in the same direction, so I give it a little kick right now, maybe someone has found something or has some ideas to realise this.


RE: RSS newsfeed to nick? by -dt- on 12-16-2004 at 03:20 AM

umm like a random line out of the rss feed or what could you attach a copy of an rss feed that you would like to extract your name out of


RE: RSS newsfeed to nick? by bemeall on 12-16-2004 at 09:28 AM

The reason I want to read from a rss text file is because I want to show my current/last played song from winamp in my conversation.
Not realy in my nick, but on command like /np in my conversation.

Now I hear you say "There are special plugins for winamp nowplaying". I know that, but these ones are usefull when winamp is running on the same system as the messenger client. And that's not i my case. Besides my website reads de nowplaying rss file, my IRCclient does, so why not my messenger client too :P

The contents of the rss file:

<rss version="0.91">
  <channel>
    <title>RJNetwork.nl Weblog</title>
    <link>http://www.rjnetwork.nl</link>
    <description>Winamp NowPlaying</description>
    <language>nl-nl</language>
    <copyright>Copyright 2004 RJNetwork.nl</copyright>
    <item>
      <title>Last played:</title>
      <description>Anouk - My Life</description>
    </item>
  </channel>
</rss>

As you can see the title tags display Last Played when winamp isn't running anymore. If winamp does run it displays Now Playing.
Then there's the description tag where artist and songtitle are displayed.
These things are always on the same linenumbers so if it is nessecary to use static linenumbers to read the lines that's no problem.

So the thing I realy would like to get realised is:
when I use the commando /np in a conversation it would echo (in this example):
Last Played: Anouk - My Life
It gets Last Played from the title tags and the rest from the description tags on the next line.

Hope this explanation is a bit better :)