AutoHotkey Community

It is currently May 24th, 2012, 5:46 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: RSS AHK
PostPosted: February 10th, 2007, 5:08 pm 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2248
Location: switzerland
20120408 Note:
not works for english forum (forum changed)
I should rewrite it
here the new adresses for rss =
Quote:
http://www.autohotkey.com/community/feed.php ;- All (NEW)
http://www.autohotkey.com/forum/rss.php?c=50 ;- All (old)

http://www.autohotkey.com/community/feed.php?f=1 ;- Ask for Help
http://www.autohotkey.com/community/feed.php?f=2 ;- Scripts & Functions
http://www.autohotkey.com/community/feed.php?f=3 ;- Bug Reports
http://www.autohotkey.com/community/feed.php?f=4 ;- Suggestions
http://www.autohotkey.com/community/feed.php?f=5 ;- Offtopic
http://www.autohotkey.com/community/feed.php?f=6 ;- Announcement
http://www.autohotkey.com/community/feed.php?f=7 ;- Utilities & Resources

http://www.autohotkey.com/community/viewtopic.php?t=16528 (this topic )


MODIFIED=20071105
can select for english or german forum
----------------------------------------------------------------------

I've used this as newsreader
start, minimize
see the three last messages in a small window, start them when click left/middle/right
can close it , it appears when message changes
searched thread checked
some buttons/links to user and download autohotkey when changed

----------------------------------------------------------------

DOWNLOAD:
http://www.autohotkey.net/~garry/RSS_NWSAHK3.AHK

Image

Quote:
/*
Chris Tue Sep 12, 2006 11:55 am Post subject: RSS.php's options/parameters for forum and item-count
http://www.autohotkey.com/forum/viewtopic.php?p=77759#77759

Within the RSS code, there are some parameters that I haven't seen any documentation on.
example:
http://www.autohotkey.com/forum/rss.php?t=1

?f=5&t=1&c=50

The "f" parameter is the forum ID (e.g. 5 is General Chat), which can be seen in the link to each forum at http://www.autohotkey.com/forum/.
The "t=1" parameter, if present, tells it to get the new topics only (no posts)
The "c" parameter indicates the count of how many items to retrieve (max 50).

You probably know that the first item in the query string should start with a question mark;
and any others after it should start with an ampersand (&).
*/


Last edited by garry on April 8th, 2012, 9:35 pm, edited 8 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2007, 5:24 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
Wow, I never even knew this forum had an RSS feed. :shock:

Great script, I'm sure some will find it useful if they don't already have a newsreader they like (I do).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2007, 6:36 pm 
jonny wrote:
Wow, I never even knew this forum had an RSS feed.

Not the first epic thing you missed so far :P

:lol:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2007, 7:41 pm 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
Wow!

Ever considered using the integrated IE control (http://www.autohotkey.com/forum/viewtopic.php?t=15885)

Got an error when using firefox as browser (line 547):
Quote:
---------------------------
rss.ahk
---------------------------
Error: Failed attempt to launch program or document:
Action: <http://www.autohotkey.com/forum/viewtopic.php?p=105011#105011>
Params: <>

The current thread will exit.

Specifically: File not found (translated from danish)



Line#
534: IfInString,LRL,Posted:
535: {
536: StringMid,dates,LRL,9,22
537: FileAppend,%DNA%%DN1%;%JN1%;%names%;%dates%

,%F4%
538: }
541: }
542: Return
---> 547: Run,%C2%
548: Return
553: {
554: StringLen,StringLen,String
555: LCnt := FieldLen-StringLen
556: Loop,LCnt
557: Appended := (Appended . ToAppend)
558: if Justification = R

---------------------------
OK
---------------------------


It load the topic in a new tab anyway.

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2007, 12:37 am 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2248
Location: switzerland
hello Tonne,
can you find the solution ?

had another failure in part version-check, have corrected
MODIFIED=2007-02-11
corrected line 254, Version-check
URLDownloadToFile,%F11%,%F12% (F12 instead of F2)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2007, 11:36 am 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
Something is rotten in the state of Denmark!
I think it must be some problem on my laptop (which are due for demolition mid february anyway) i get the same error trying to run the same link with start/run.

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2007, 11:39 am 
Offline

Joined: September 23rd, 2006, 1:58 pm
Posts: 149
Very nice thing that, a real ahk-portal ;-)

But you could have saved a lot of coding, if u had used Titans XML-Read function.

Check this RSS-Reader, to see how easy it gets:
http://www.autohotkey.com/forum/viewtopic.php?t=13483


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2007, 2:08 pm 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2248
Location: switzerland
@tonne, can you find the problem ?
I've removed useless goto's
@Zed Gecko, thanx for the link and example
I'll should work on it, I'll try again
have some ideas and I know you can make a better script, I'm not good in programming
also not understanding regex, dllcall
just correct these scripts or make a new example


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 5th, 2007, 9:49 pm 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2248
Location: switzerland
script changed
can use also for the german forum (settings)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 19th, 2008, 5:56 pm 
Offline

Joined: November 5th, 2007, 7:25 pm
Posts: 454
Location: canada
I was looking for an RSS reader in ahk and noticed one of my first questions in ahk was posted in the screenshot.

kinda cool.

_________________
-=Raz=-


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 31st, 2010, 2:05 pm 
Offline

Joined: June 1st, 2007, 2:00 pm
Posts: 180
I'll take a good look

Best Regards


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], mc-lemons, trismarck and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group