|
justice
|
 |
« on: May 09, 2007, 08:03:02 AM » |
|
Folder-RSS generates an newsfeed containing changes within a folder. Use it to see what files are new in a particular folder by subscribing with an newsreader such as Opera. 17 October 2007 -Righty a long awaited update to Folder-RSS  changes for version 0.9 [ copy or print] * repacked with the latest autohotkey - no more false positives from certain virus scanners * support for Mouser's DcUpdater (let me know if this works well for you - folder-rss checks for updates on start, will make this an option * new options thanks to donationcoder member requests: -only:files|folders = Only include files (-only:files) or folders (-only:folders) (Default is both) -only:*.ext = Only include *.ext files (eg. change to *.mp3 to include mp3 files only). (default = *.*) -maxage:`<number`> = Only show results last modified within the last `<number`> days (default=14) -maxitems:<number> = Only show up to <number> feeditems (default = 100) * started work on graphical user interface for next version. Download
Example: folder-rss.exe "c:\browser downloads" d:\temp\latest.xml (get the complete syntax by running the file)  You can only monitor specific files using wildcards. Put paths with spaces in quotes. Run it as a scheduled task once a day to generate a new feed! Defaults list the last 100 items that have been modified /are added within the last 14 days. Read-only, System and hidden files are not monitored unless specified.  AHK source + compiled .EXE provided. Your suggestions and comments are much appreciated There are bound to be bugs, but I am happy to squash them. Sharpreader does not support local files
|
|
|
|
« Last Edit: March 05, 2009, 10:30:55 AM by justice »
|
Logged
|
|
|
|
|
2stepsback
|
 |
« Reply #1 on: May 09, 2007, 09:13:11 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
cthorpe
|
 |
« Reply #2 on: May 09, 2007, 09:51:36 AM » |
|
Does it monitor down into subfolders?
|
|
|
|
|
Logged
|
|
|
|
|
|
justice
|
 |
« Reply #3 on: May 09, 2007, 09:57:02 AM » |
|
yep, but in the AHK souce you'll find an option to disable subdirectories.  (edit: now as a parameter) I am using the following configuration atm: Formatted for Autohotkey with the GeSHI Syntax Highlighter [ copy or print] maxAge = 14 ; only process files that are modified within x days (default=14) maxItems = 100 ; maximum items in rss feed (default=100) includeSubFolders = 1 ; Monitor Subfolders (1=true (default), 0=false ) excludeFiles = R,H,S ; Skip any file that is either H (Hidden), R (Read-only), or S (System) Note: No spaces in "H,R,S"
|
|
|
|
« Last Edit: May 09, 2007, 02:42:49 PM by justice »
|
Logged
|
|
|
|
|
cthorpe
|
 |
« Reply #4 on: May 09, 2007, 10:09:36 AM » |
|
Ok, so obviously I have no idea what I am doing, but I cannot figure out how to actually read the feed. I tried Opera, and it's blank. SharpReader says: "The specified cast is not valid." Feed Demon says that the feed cannot be added. 
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #5 on: May 09, 2007, 10:25:03 AM » |
|
There's a known issue with Folder-RSS not generating valid feeds if one or more files have ampersands and other characters that should be carefully escaped in their filename.edit: now fixed. I suspect if you copy the contents of the result file into http://www.validome.org/rss-atom/ and validate it, it will say it fails? Fixing this is a high priority!
|
|
|
|
« Last Edit: May 09, 2007, 02:43:21 PM by justice »
|
Logged
|
|
|
|
|
jgpaiva
|
 |
« Reply #6 on: May 09, 2007, 10:47:42 AM » |
|
justice: Here's part of the code i used in one of my scripts, to solve that problem with '%' ',' '&' and ": [ copy or print] stringreplace,replaced_,replaced,`%,```%,replaceall stringreplace,replaced,replaced_,`,,```,,replaceall stringreplace,replaced_,replaced,`&,```&,replaceall stringreplace,replaced,replaced_,`",```",replaceall I hope it helps! 
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #7 on: May 09, 2007, 11:10:23 AM » |
|
Oh thanks! I found an Xpath parser so I will soon generate real xml, but if i get stuck I'll try that approach too.
|
|
|
|
|
Logged
|
|
|
|
|
cthorpe
|
 |
« Reply #8 on: May 09, 2007, 11:12:04 AM » |
|
The validator says valid RSS 2.0.
If I have the xml file located at C:\rss\test.xml what should I put for the address in SharpReader?
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #9 on: May 09, 2007, 12:29:51 PM » |
|
Ok I thought any RSS reader could open local links, it seems SharpReader rejects them. I guess I will have to test with other software and keep a list of which software is capable. You can run a mini-webserver like HFS or SimpleWWW if you don't mind this -- set up a site with the siteroot being the folder which contains the xml file, then you can browse to http://localhost/test.xml or similar and subscribe to the feed, or ask the developer(s) of Sharpreader to support the file:// protocol, I am unsure what else can be done about it  However I have success with Opera 9.20: If you just right click on the rss feed and do Open with -> opera you will get a url like: file://localhost/C:\rss\test.xml Now go to the menu bar Feeds -> Manage Feed -> Add -> enter file://localhost/C:\rss\test.xml as the url and it should load. I'll update the opening post!
|
|
|
|
« Last Edit: May 09, 2007, 12:34:26 PM by justice »
|
Logged
|
|
|
|
|
cthorpe
|
 |
« Reply #10 on: May 09, 2007, 12:33:27 PM » |
|
Yay! Got it in Opera!
Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #11 on: May 09, 2007, 02:44:36 PM » |
|
Released a new version tonight, thanks for the feedback it really inspires! NEW version: May 2007 Alpha-2:- Now generates valid XML through Xpath parser made by Titan; http://www.autohotkey.net/~Titan/dl/xpath.html
- commandline parameters added for exclusion of subfolders and inclusion of files with specific file attributes
- removed trayicon
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« Reply #12 on: May 09, 2007, 02:52:30 PM » |
|
Justice has been writing some very cool utilities here in the coding snacks section.. Please show him some support by sending him a few donationcredits along with a nice little message when you do 
|
|
|
|
|
Logged
|
|
|
|
|
alexk7110
|
 |
« Reply #13 on: May 10, 2007, 05:56:19 AM » |
|
What a brilliant idea F-rss is.. One small suggestion though. I believe there should be a way to suppress the message boxes since scheduling the task and having the xml file sent automatically on an ftp server is only stopped by them. So for a full unattended run consider giving a -nomsg option. Thanks again for this great app..
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #14 on: May 10, 2007, 07:38:18 AM » |
|
Oops I left some debug msgboxes on by mistake NEW version: May 2007 Alpha-3:- Switched off debug messages
|
|
|
|
|
Logged
|
|
|
|
|
alexk7110
|
 |
« Reply #15 on: May 10, 2007, 11:56:46 AM » |
|
Version alpha-3 works like a charm , now on to some more feature suggestions if I may.. - Exclude folder names from the compiled rss feed - Either monitor specific file types or exclude file types ( I am using it on a downloads folder and all sorts of stuff ends up there and I was thinking of the possibility of monitoring only podcasts (.mp3) for example ..) - possibility of posting feed on ftp server ( this is just lazy thinking since I complete this process through a simple batch script, but I guess more lazy or less savvy users might find this useful ) - Having the subfolder name where the changed file resides on the message text ( under the modified date )
I think I should stop now.. Your app is amazing, it's one of those "how come no-one thought of this before". It also gives me this warm fuzzy feeling of posting my own rss feed, for something useful too. Keep up the great work and thanks again..
|
|
|
|
|
Logged
|
|
|
|
|
alexk7110
|
 |
« Reply #16 on: May 10, 2007, 04:52:13 PM » |
|
A few hours later I realize that feedreader actually does most of the stuff I suggested earlier on the Rss reader endpoint. I have created a smartfeed that displays only news with certain extensions and voila, I get only the video and audio podcasts on a news folder. I guess sometimes I am looking at the finger instead of the moon that it's pointing to..
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #17 on: May 10, 2007, 05:01:58 PM » |
|
Thank you for your suggestions Alexk! I'll consider them all, I don't want to add as many parameters as robocopy, but they're definately worth looking into.
|
|
|
|
|
Logged
|
|
|
|
|
alexk7110
|
 |
« Reply #18 on: May 16, 2007, 02:14:27 PM » |
|
I should mention that since using version 0.3 AVG Free antivirus reports folder-rss.exe as having a trojan in it, to be more specific it reports "Trojan horse Generic4.IRO". I did a full system scan just to make sure and I think it's pretty safe to say that it's a false positive but in any case I think you should look into it..
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #19 on: May 16, 2007, 06:22:10 PM » |
|
AutoHotkey uses the new UPX executable compressor that was only recently released. Apparently AVG mistakenly reports this as the Generic4.IRO trojan. This is not just in my executable but with any executable produced by AHK. See the detailed explanation here. Updated definitions will probably fix this. It is not a trojan, the anti-virus provider does not recognise the UPX compressor properly. http://virusscan.jotti.org/Scan taken on 16 May 2007 23:13:47 (GMT) A-Squared Found nothing AntiVir Found nothing ArcaVir Found nothing Avast Found nothing AVG Antivirus Found Generic4.IRO BitDefender Found nothing ClamAV Found nothing Dr.Web Found nothing F-Prot Antivirus Found nothing F-Secure Anti-Virus Found nothing Fortinet Found nothing Kaspersky Anti-Virus Found nothing NOD32 Found nothing Norman Virus Control Found nothing Panda Antivirus Found nothing Rising Antivirus Found nothing VirusBuster Found nothing VBA32 Found nothing
|
|
|
|
|
Logged
|
|
|
|
|
alexk7110
|
 |
« Reply #20 on: May 18, 2007, 07:30:39 AM » |
|
I've recompiled the ahk script with Autohotkey Version 1.0.46.15 and all is back to normal ( no AVG complaints ).
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #21 on: May 18, 2007, 08:55:14 AM » |
|
I'm working on some changes for Folder-RSS I've got the following things working: * -only:filename.ext = A single wildcard such as *.mp3 to include mp3 files only. Multiple wildcards will be more diffucult to implement. Default is *.* * -only:files|folder = only include files or only process folders to the feed. Depending if things are organised into their own folder or not this can be handy. Default is both files and folders * improved gui to make the syntax more maintainable and to point people to my support website. Also this could grow into a GUI Wizard for Folder-RSS is there is enough interest from you  Todo: * Planning to make the other defaults changeable as well. * Displaying the folder-structure in the feed; possible working file:// links if it can be done. Regarding FTP support there are good products already on the market including AutoFTP to do this for you, it will require setting up ftp details etc. I see Folder-RSS more as a quick tool as part of a bigger command sequence. Let me know what you think. Thanks for all your feedback so far it's very rewarding 
|
|
|
|
|
Logged
|
|
|
|
|
alexk7110
|
 |
« Reply #22 on: May 18, 2007, 12:32:39 PM » |
|
The "-only:files|folder" feature is the one I am expecting the most. Can't wait to try it.. I guess that if an easy to use gui comes later on, a Lifehacker.com feature is most likely to happen.
|
|
|
|
|
Logged
|
|
|
|
|
TucknDar
|
 |
« Reply #23 on: October 07, 2007, 03:29:17 AM » |
|
BUMP, but what an extremely cool script! I've hooked the RSS feed up to Website Watcher and can then remind myself of any new downloads and stuff  Had a bit of a problem downloading this though, since Avast! apparently didn't like the compiled AHK script  , but disabling the resident scanner for a moment worked around it (as needless to say, I'll trust you won't spread virii through DC  )
|
|
|
|
|
Logged
|
|
|
|
|
justice
|
 |
« Reply #24 on: October 07, 2007, 04:41:28 AM » |
|
Thanks a lot! the scanner is flagging a particular version of the executable processor Folder-RSS is using, it is fixed in the newest version of AHK but I never released an updated download. In this case its not a virus. I'll do that in the coming days.
|
|
|
|
|
Logged
|
|
|
|
|