topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 8:50 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Folder-RSS: Monitor folder changes via rss  (Read 81288 times)

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #25 on: October 17, 2007, 05:21 AM »
Righty a long awaited update to Folder-RSS :)
changes for version 0.9
* 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

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #26 on: October 17, 2007, 05:46 AM »
I can also see opportunities to create feeds on "last accessed", "creation date" or a combination of these with "last modified date". However it seems this will add another set of commandline options that you probably don't need to get comfortble with 99% of the time.

So I am thinking of creating an interface, possibly with profiles you can load / save, and a wizard to set up such a profile.
possibly a commandline version with all optinos but a streamlined interface with these defaults; i'm not planning to add every option as a checkbox ;-).
Whether or not these things will materialize will depend on my limited resources (in time) and how excited you guys are about it ;)
« Last Edit: October 17, 2007, 05:48 AM by justice »

dlagesse1992

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 24
  • someonestolemyname
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #27 on: December 09, 2007, 09:58 AM »
Wow, this is a great idea. I never thought of it before, but now that you made it, there are tons of uses for it.

Thanks!

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #28 on: March 09, 2008, 09:28 AM »
Could someon tell me how to add this kind of feed to opera or another rss-reader app?

Edit: The Rss readers have problems with the very long line in the xml file.
« Last Edit: March 09, 2008, 01:39 PM by apfel »

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #29 on: March 10, 2008, 04:59 AM »
Hi apfel, I received your bugreport and I'm sorry you found those issues, I remember one of them lol. The code should only have one set of rss tags! I'll have a look at the issues you reported, hopefully in the next few weeks I can post an updated version. It is possible that the bugs you reported with the XML parsing prevent any newsreader from reading it as it breaks the scheme :(

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.


apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #30 on: March 11, 2008, 08:21 AM »
Thank you for your answer! :)

[..]It is possible that the bugs you reported with the XML parsing prevent any newsreader from reading it as it breaks the scheme[..]

I thought the same, after a look-through the genarated xml file.
I always use the latest Opera versions and your methode unfortunately dont work in newer builds.

Edit: another Bug(bold Text):
First Line:"<?xml version="1.0" encoding="iso-8859-1"? version="2.0" version="2.0">"
« Last Edit: March 11, 2008, 11:16 AM by apfel »

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #31 on: March 11, 2008, 11:41 AM »
Loops problems in combination with a inperfect xml parser create this horrible mess of code  :-[

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #32 on: March 11, 2008, 04:12 PM »
I found a (maybe) useful ahk xml function library.
http://www.autohotke...iewtopic.php?t=17549

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #33 on: July 19, 2008, 08:03 AM »
major bump :)

Just had a bit of an annoying "debugging" of this, since the xml insisted on titling feeds things like -maxage:7 and -nosub (commandline parameters I've used). Turned out folder-rss needs specific order of parameters to have both correct title and save to specified xml:
folder-rss.exe "d:\the\dir\to\watch" -maxage:7 -only:folders [-or other parameters] d:\the\output.xml
from about, which didn't work:
folder-rss [-nosub,-only:files|folders|*.ext,+r,+h,+s] <sourcefolder> <destination.xml>
so essentially should be in this order:
folder-rss <sourcefolder> [-nosub,-only:files|folders|*.ext,+r,+h,+s] <destination.xml>

midion

  • Participant
  • Joined in 2009
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #34 on: January 03, 2009, 11:42 PM »
Can someone help me to make it so this program does this?
EXAMPLE
Files in C:\wamp\www\downloads\snes\D\

RSS File @ "http://www.snesroms..../rssfiles/SNES_D.xml" shows output like below.

Double Dragon I <-this is a clickable hyperlink to file
Double Dragon II       
Double Dradon III         

So when ever I drop a file into the folder or take one out it auto-updates the RSS Feed.

I over 1,178 folders and a little over 31,284 files to manage. So using RSS feeds seems like the best way to go. 

The webserver is mine and I just remote into at it's datacenter. In all I will be making 1,178 seperate rss feeds. One feed for each folder.  So If I have to move files from place to place. Everything would auto-update.

ghacks

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #35 on: January 28, 2009, 07:41 AM »
I'm still getting an error when uploading the created file to http://www.validome....rg/rss-atom/validate telling me

Syntax error within XML declaration (&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;? version=&quot;2.0&quot; version=&quot;2.0&quot;&gt;).
Check the XML declaration (z.B. <?xml version="1.0" encoding="UTF-8"?>) on the basis of the W3C specification

I'm using the example.bat file and upload it directly.


justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #36 on: January 28, 2009, 09:08 AM »
I've started a list of issues reported in this thread and around the web to sort out in a round of updates. Valid xml is top of the list. Development of my utilities have been a bit abandoned unfortunately, sorry about that.


hpearce

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 139
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #37 on: January 28, 2009, 09:48 AM »
file://localhost/C:/Temp/install.xml    added to Opera

read feed produces nothing

xml seems to have valkid data in it
Windows 7 SP1 (TM) Home Premium 64-bit .. Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26 GHz / 2.27 GHz .. 4GB RAM .. NVIDIA GeForce 9800M GTS .. Gateway P-7805u FX

Bonewalker

  • Participant
  • Joined in 2009
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #38 on: January 28, 2009, 10:47 AM »
This might go against the grain of what you are trying to do, but would it be possible/feasible to add an option to simply send an email rather than/in addition to an rss feed so that one wouldn't have to install a web service?

Just an idea off the top of my head. Be nice to monitor servers across a network without the added vulnerability of a web service.

Thanks for the interesting app.
« Last Edit: January 28, 2009, 11:39 AM by Bonewalker »

dragonmage

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #39 on: April 23, 2009, 01:46 PM »
I have an idea to use this with Rainmeter. The concept would be to create a Rainmeter config to display an icon. Rainmeter would periodically run Folder-RSS. If changes are found it would change the icon to indicate it. Clicking on the icon would then open another config to display the changes that have been made.

Does this sound possible? Also what kind of performance hit is there while it scans the folder for changes?

dragonmage

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #40 on: April 26, 2009, 02:46 AM »
Could Folder-RSS also put File Count and Folder Size totals into the feed?
That would be pretty handy.

DavidA_UK

  • Honorary Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #41 on: May 22, 2009, 05:51 PM »
With Justice's permission, I've continued the development of this great app. The original version didn't do quite what I wanted so I learned the programming language and made some changes. You can download it here along with the source code.

folder-rss-0.91.png

It's likely that there are some bugs in here so consider this version (v0.92) a beta release. I'm happy to deal with any problems that people find and I'm happy to try and add new features. I'm not quite done with it myself yet, but I thought I'd get this version out there and see what people think. I'm away for the next week, but I'll catch up on this when I return. Enjoy!
« Last Edit: May 22, 2009, 06:37 PM by DavidA_UK »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #42 on: May 22, 2009, 06:07 PM »
Great David!!
And welcome to the site  :up:

Is the lastest version available from http://justice.dcmem...m/pages/download.php ?

DavidA_UK

  • Honorary Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #43 on: May 22, 2009, 06:19 PM »
It's not on Justice's site.

I noticed an 11th hour problem so deleted the link for a moment. Link above (to v0.92) should work now.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #44 on: May 22, 2009, 06:24 PM »
Ok that explains it -- i didn't see any download link is why i asked :)  but i see it's there now.
Thank you for sharing.. maybe you could post a list of changes to the original (i dont mean changes line by line i mean a list of new features, etc.).

DavidA_UK

  • Honorary Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #45 on: May 22, 2009, 06:32 PM »
Folder-RSS v0.92
- Added user interface
- Added the ability to save settings
- Added repeat mode
- Added a mode to replace the local path with a web path
- Added a second link mode to the RSS feed using the GUID RSS tag
- Added the ability to title the RSS feed
- Added ability to hide the filename extensions in the RSS feed


justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #46 on: June 03, 2009, 03:56 AM »
A late reaction, as you can see David has been doing some excellent work on Folder-RSS. Sad truth is that I don't use the program regularly enough to put in the time to keep it updated. So I'm discussing with David what the best way forward is.

Once that's clearer then I'll update information where neccessary, with regards to dcupdate etc to help people move over :)
« Last Edit: June 03, 2009, 03:59 AM by justice »

Ramis

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #47 on: August 18, 2009, 04:08 AM »
Hi guys, i just found out about folder-rss and i think its great! I wanted this functionality some time ago and programmed my own tool FolderFeed to do just this using XML serialization in .Net to produce valid RSS 2.0 xml data, i noticed that your tool had some problems with producing valid xml, so you might find it interesting. Would want to help out.

You can download the tool and source code at:
http://ramis.mine.nu/folderfeed/
« Last Edit: August 30, 2009, 07:19 PM by Ramis »

DavidA_UK

  • Honorary Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #48 on: October 05, 2009, 04:12 PM »
Seems like Ramis is going in a different direction with FolderFeed. The more the merrier.

Just to say that I have my version a permanent home here. Contact me if you want new features.

bluedog9300

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Folder-RSS: Monitor folder changes via rss
« Reply #49 on: February 21, 2011, 01:31 PM »

* 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.


I haven't been able to use the syntax for options such as maxitems or file types.  Please make it so I can just copy and paste.

The examples given show Maxage has single quotes while Maxitems does not
... I capitalized for clarity btw.