| View previous topic :: View next topic |
| Author |
Message |
garry
Joined: 19 Apr 2005 Posts: 1629 Location: switzerland
|
Posted: Sat Feb 10, 2007 5:08 pm Post subject: RSS AHK |
|
|
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_NWSAHK2.AHK
| 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 Fri Oct 03, 2008 7:29 am; edited 6 times in total |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2951 Location: Minnesota
|
Posted: Sat Feb 10, 2007 5:24 pm Post subject: |
|
|
Wow, I never even knew this forum had an RSS feed.
Great script, I'm sure some will find it useful if they don't already have a newsreader they like (I do). |
|
| Back to top |
|
 |
majkinetor ! Guest
|
Posted: Sat Feb 10, 2007 6:36 pm Post subject: |
|
|
| jonny wrote: | | Wow, I never even knew this forum had an RSS feed. |
Not the first epic thing you missed so far
 |
|
| Back to top |
|
 |
tonne
Joined: 06 Jun 2006 Posts: 1522 Location: Denmark
|
Posted: Sat Feb 10, 2007 7:41 pm Post subject: |
|
|
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. _________________ there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face
- Kashmir |
|
| Back to top |
|
 |
garry
Joined: 19 Apr 2005 Posts: 1629 Location: switzerland
|
Posted: Sun Feb 11, 2007 12:37 am Post subject: |
|
|
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) |
|
| Back to top |
|
 |
tonne
Joined: 06 Jun 2006 Posts: 1522 Location: Denmark
|
Posted: Sun Feb 11, 2007 11:36 am Post subject: |
|
|
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. _________________ there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face
- Kashmir |
|
| Back to top |
|
 |
Zed Gecko
Joined: 23 Sep 2006 Posts: 132
|
Posted: Sun Feb 11, 2007 11:39 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
garry
Joined: 19 Apr 2005 Posts: 1629 Location: switzerland
|
Posted: Sun Feb 11, 2007 2:08 pm Post subject: |
|
|
@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 |
|
| Back to top |
|
 |
garry
Joined: 19 Apr 2005 Posts: 1629 Location: switzerland
|
Posted: Mon Nov 05, 2007 9:49 pm Post subject: |
|
|
script changed
can use also for the german forum (settings) |
|
| Back to top |
|
 |
Razlin
Joined: 05 Nov 2007 Posts: 445 Location: canada
|
Posted: Tue Aug 19, 2008 5:56 pm Post subject: |
|
|
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=- |
|
| Back to top |
|
 |
AutoPepe
Joined: 01 Jun 2007 Posts: 151
|
Posted: Sun Jan 31, 2010 2:05 pm Post subject: |
|
|
I'll take a good look
Best Regards |
|
| Back to top |
|
 |
|