AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > OS, Software, Firmware, and BIOS


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 2nd May, 2005, 12:06 AM
danrok's Avatar
AOA Staff
 
Join Date: March 2003
Location: Great Britain
Posts: 18,917

RSS feed for XP desktop?

Anyone know of an RSS news reader which will display headlines on the XP desktop?
__________________
Desktop PC: AMD FX-8370E / Asus M5A99X Evo R2.0 Motherboard / 16GB DDR3 RAM / GeForce GTX 970
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 2nd May, 2005, 02:04 AM
danrok's Avatar
AOA Staff
 
Join Date: March 2003
Location: Great Britain
Posts: 18,917

Managed to get something going with CoolMon and a VB script which harvests the data from BBC news web pages.
Attached Thumbnails
RSS feed for XP desktop?-news.jpg  
__________________
Desktop PC: AMD FX-8370E / Asus M5A99X Evo R2.0 Motherboard / 16GB DDR3 RAM / GeForce GTX 970
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 2nd May, 2005, 04:50 AM
benighted's Avatar
Member
 
Join Date: August 2004
Location: Grayland, WA.
Posts: 549
Send a message via AIM to benighted Send a message via MSN to benighted

Cool! I want it.
__________________

Buy AVG Anti-Virus and Support AOA!!
AOA Team fah
Silent water cooled system:
Zalman Reserator 1.1
AMD Athlon 64 3200+ Venice @ 2400MHZ
Epox 9NDA3+
2GB GSkill PC3200
Maxtor 10 SATA X2 RAID0
eVGA 6800 Ultra 256MB

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 2nd May, 2005, 08:13 PM
danrok's Avatar
AOA Staff
 
Join Date: March 2003
Location: Great Britain
Posts: 18,917

I've written a VBScript which gets all the latest threads from AOA!
Attached Thumbnails
RSS feed for XP desktop?-aoa_threads.png  
__________________
Desktop PC: AMD FX-8370E / Asus M5A99X Evo R2.0 Motherboard / 16GB DDR3 RAM / GeForce GTX 970
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 3rd May, 2005, 04:26 PM
danrok's Avatar
AOA Staff
 
Join Date: March 2003
Location: Great Britain
Posts: 18,917

Here's the VBScript which will get the latest threads from AOA and write them in to a text file.

To use this code, copy and paste it into a text file called "aoa_threads.vbs".

Use the Windows scheduler to run the script every 5 mins or so.

Quote:
' This script will get the latest threads from AOA Forums
' the thread titles will be written in to a text file.
' Code last updated 20050503

'variables

Dim regEx

On Error Resume Next

' Set filenames and URLs

Const StatusFile ="aoa_status.txt"
Const ThreadsFile = "aoa_new_threads.txt"
Const pageURL ="http://www.aoaforums.com/forum/search.php?do=getnew"

set http = createobject("microsoft.xmlhttp")
Http.open "GET", PageURL, false
Http.send
strng = Http.responsetext

' Create the output file
Set fs = CreateObject("Scripting.FileSystemObject")
Set StatusoutFile = fs.CreateTextFile(StatusFile, True)

If strng <> "" then
' Create the output file
Set fs = CreateObject("Scripting.FileSystemObject")
Set ThreadsoutFile = fs.CreateTextFile(ThreadsFile, True)
' Make sure the output is formatted with correct quotes and ampersands
strng = replace(strng,"&quot;",Chr(34))
strng = replace(strng,"&amp;",Chr(38))

' Find the thread titles

Set regEx = New RegExp
regEx.Global = True
regEx.Pattern = "<strong>(.*?)</strong></a>"

Set Matches = regEx.Execute(strng)

' Write the text lines to file

For Each Match in Matches
Threadsoutfile.write match.SubMatches(0)
ThreadsoutFile.WriteLine
Next
' Close the Threads file
ThreadsoutFile.close
Statusoutfile.write "<c:lime>on-line</c>"
StatusoutFile.WriteLine
else
Statusoutfile.write "<c:red>off-line</c>"
StatusoutFile.WriteLine
end if

' Close status file
StatusoutFile.close
You can display the contents of the text file using CoolMon 1.

You'll need to put the following lines or similar into the Display Options in CM1.

Quote:
<c:yellow><b>AOA Latest Threads</b></c> <NAME=FILEDATA FORMAT="aoa_status.txt,1">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,2">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,3">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,4">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,5">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,6">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,7">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,8">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,9">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,10">
<NAME=FILEDATA FORMAT="aoa_new_threads.txt,11">
Attached Images
 
__________________
Desktop PC: AMD FX-8370E / Asus M5A99X Evo R2.0 Motherboard / 16GB DDR3 RAM / GeForce GTX 970
AOA Team fah

Last edited by danrok; 3rd May, 2005 at 04:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 3rd May, 2005, 04:30 PM
danrok's Avatar
AOA Staff
 
Join Date: March 2003
Location: Great Britain
Posts: 18,917

You could adapt the above to get almost any info from any website.
__________________
Desktop PC: AMD FX-8370E / Asus M5A99X Evo R2.0 Motherboard / 16GB DDR3 RAM / GeForce GTX 970
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 3rd May, 2005, 06:30 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 45,606

That last bit was more information than anyone could possibly use!...LOL
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and Mercy ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur

[img]/forum/attachments/random-nonsense/16515-sigs-dan_drag.jpg[/img]
Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 3rd May, 2005, 06:30 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 45,606

Very cool script Danrok!!
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and Mercy ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur

[img]/forum/attachments/random-nonsense/16515-sigs-dan_drag.jpg[/img]
Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 3rd May, 2005, 06:33 PM
danrok's Avatar
AOA Staff
 
Join Date: March 2003
Location: Great Britain
Posts: 18,917

Quote:
Originally Posted by Daniel ~
That last bit was more information than anyone could possibly use!...LOL
Quite easy to set-up!

Just a case of installing CoolMon v1 and copy and paste the script from here. Then schedule it.
__________________
Desktop PC: AMD FX-8370E / Asus M5A99X Evo R2.0 Motherboard / 16GB DDR3 RAM / GeForce GTX 970
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 3rd May, 2005, 06:37 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 45,606

Very cool mon!
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and Mercy ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur

[img]/forum/attachments/random-nonsense/16515-sigs-dan_drag.jpg[/img]
Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 3rd May, 2005, 07:32 PM
fantomfreq's Avatar
Member
 
Join Date: July 2004
Location: Fort Stewart, GA
Posts: 1,000
Send a message via AIM to fantomfreq

Check out this desktop RSS thingy. I'll explain later as I have a final exam right now.

EDIT: That's actually the new screensaver for Tiger. You can make it your desktop by using a simple UNIX command (so simple a command that I had to look it up.)
Attached Thumbnails
RSS feed for XP desktop?-screenshot.jpg  
__________________
AOA Team fah

Last edited by fantomfreq; 3rd May, 2005 at 08:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS to Force feed IE7! Daniel ~ OS, Software, Firmware, and BIOS 39 29th July, 2006 10:57 AM
Have AOA on your desktop! aghastpumpkin Random Nonsense! 3 12th July, 2006 01:46 PM
Any feed back on the EP-8RDA3G? ral EPoX MotherBoards 1 25th February, 2004 09:08 AM


All times are GMT +1. The time now is 01:11 AM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0