Welcome Guest.   Make a donation to an author on the site October 25, 2014, 05:14:13 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2] 3 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Folder-RSS: Monitor folder changes via rss  (Read 46319 times)
justice
Supporting Member
**
Posts: 1,889



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #25 on: October 17, 2007, 05:21:17 AM »

Righty a long awaited update to Folder-RSS smiley
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
Logged

justice
Supporting Member
**
Posts: 1,889



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #26 on: October 17, 2007, 05:46:13 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 Wink
« Last Edit: October 17, 2007, 05:48:23 AM by justice » Logged

dlagesse1992
Supporting Member
**
Posts: 24

someonestolemyname

View Profile Give some DonationCredits to this forum member
« Reply #27 on: December 09, 2007, 09:58:30 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!
Logged
apfel
Participant
*
Posts: 63


View Profile Give some DonationCredits to this forum member
« Reply #28 on: March 09, 2008, 09:28:56 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:30 PM by apfel » Logged
justice
Supporting Member
**
Posts: 1,889



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #29 on: March 10, 2008, 04:59:31 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 Sad

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.

Logged

apfel
Participant
*
Posts: 63


View Profile Give some DonationCredits to this forum member
« Reply #30 on: March 11, 2008, 08:21:17 AM »

Thank you for your answer! smiley

Quote
[..]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:41 AM by apfel » Logged
justice
Supporting Member
**
Posts: 1,889



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #31 on: March 11, 2008, 11:41:35 AM »

Loops problems in combination with a inperfect xml parser create this horrible mess of code  embarassed
Logged

apfel
Participant
*
Posts: 63


View Profile Give some DonationCredits to this forum member
« Reply #32 on: March 11, 2008, 04:12:45 PM »

I found a (maybe) useful ahk xml function library.
http://www.autohotkey.com...rum/viewtopic.php?t=17549
Logged
TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #33 on: July 19, 2008, 08:03:03 AM »

major bump smiley

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:
[copy or print]
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:
[copy or print]
folder-rss [-nosub,-only:files|folders|*.ext,+r,+h,+s] <sourcefolder> <destination.xml>
so essentially should be in this order:
[copy or print]
folder-rss <sourcefolder> [-nosub,-only:files|folders|*.ext,+r,+h,+s] <destination.xml>
Logged
midion
Participant
*
Posts: 1


View Profile Give some DonationCredits to this forum member
« Reply #34 on: January 03, 2009, 11:42:07 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.com/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.
Logged
ghacks
Honorary Member
**
Posts: 49


View Profile Give some DonationCredits to this forum member
« Reply #35 on: January 28, 2009, 07:41:25 AM »

I'm still getting an error when uploading the created file to http://www.validome.org/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.

Logged
justice
Supporting Member
**
Posts: 1,889



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #36 on: January 28, 2009, 09:08:02 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.

Logged

hpearce
Charter Member
***
Posts: 132

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #37 on: January 28, 2009, 09:48:00 AM »

file://localhost/C:/Temp/install.xml    added to Opera

read feed produces nothing

xml seems to have valkid data in it
Logged

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
*
Posts: 1


View Profile Give some DonationCredits to this forum member
« Reply #38 on: January 28, 2009, 10:47:16 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:11 AM by Bonewalker » Logged
dragonmage
Supporting Member
**
Posts: 21


View Profile Give some DonationCredits to this forum member
« Reply #39 on: April 23, 2009, 01:46:10 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?
Logged
dragonmage
Supporting Member
**
Posts: 21


View Profile Give some DonationCredits to this forum member
« Reply #40 on: April 26, 2009, 02:46:28 AM »

Could Folder-RSS also put File Count and Folder Size totals into the feed?
That would be pretty handy.
Logged
DavidA_UK
Honorary Member
**
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #41 on: May 22, 2009, 05:51:42 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.



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:16 PM by DavidA_UK » Logged
mouser
First Author
Administrator
*****
Posts: 33,590



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #42 on: May 22, 2009, 06:07:52 PM »

Great David!!
And welcome to the site  thumbs up

Is the lastest version available from http://justice.dcmembers.com/pages/download.php ?
Logged
DavidA_UK
Honorary Member
**
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #43 on: May 22, 2009, 06:19:38 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.
Logged
mouser
First Author
Administrator
*****
Posts: 33,590



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #44 on: May 22, 2009, 06:24:04 PM »

Ok that explains it -- i didn't see any download link is why i asked smiley  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.).
Logged
DavidA_UK
Honorary Member
**
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #45 on: May 22, 2009, 06:32:15 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

Logged
justice
Supporting Member
**
Posts: 1,889



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #46 on: June 03, 2009, 03:56:04 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 smiley
« Last Edit: June 03, 2009, 03:59:44 AM by justice » Logged

Ramis
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #47 on: August 18, 2009, 04:08:17 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:18 PM by Ramis » Logged
DavidA_UK
Honorary Member
**
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #48 on: October 05, 2009, 04:12:38 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.
Logged
bluedog9300
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #49 on: February 21, 2011, 01:31:51 PM »


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


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.
Logged
Pages: Prev 1 [2] 3 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.057s | Server load: 0.04 ]