Ability to view file lists as text or HTML
Moderator: Moderators
Ability to view file lists as text or HTML
Here's what I'd love to see: The ability to convert DC++ file lists to text or HTML.
I'm basically lazy and haven't taken the time to come up with a file list for my non-DC++ friends. I'd love to be able to find a script that would parse my DC++ list and convert it to text that I could send to such friends.
Possible?
I'm basically lazy and haven't taken the time to come up with a file list for my non-DC++ friends. I'd love to be able to find a script that would parse my DC++ list and convert it to text that I could send to such friends.
Possible?
The newest format of the filelist is XML, that's readable for (most) browsers. just send the filesX.xml.bz2 file.Your friends and you can use for example Winrar to open/unpack the file and read it. simple as that , ok ?
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
-
- Posts: 184
- Joined: 2003-05-26 11:29
- Location: UK
....or... maybe I thought:Gasman1015 wrote:Lazy == Double posting
a) I should post it to the correct forum this time
b) I could get the answer I wanted in this forum.
Guitarm, thanks for your suggestion, I appreciate it. Gasman1015, thanks for your assessment of my character, although I don't appreciate that quite as much as the help you gave me in the other forum.
I understand where to find my file list on my hard drive, and that it's compressed, and how to uncompress it, and that it's in XML format. I also know that there are things such as newsreaders and aggregators that take XML code and convert it to plain text.
My FEATURE REQUEST, then is this...
** A menu option that converts file lists (including my own) to plain text **
... like an aggregator or newsreader would.
Call me lazy (wait... we both already did that ) but this would be a great feature to avoid doing double work. I see no reason to maintain my own separate file list when DC++ *almost* does a great job of that already.
I could then hand my list to the mass of "unwashed" who aren't yet into DC++ and let them know what they are missing.
Oki, doki, Well......
1. Take a look at this (read it through) Howto suggest features
2. If rejected - code it yourself, this is a perfect opportunity to learn about Visual C++ programming both in general and to understand the quirks/intricasy's about Win32/ATL/WTL programming I've come to understand that for a feature to have any (read good) chance of being accepted, Arnetheduck (creator/main developer) want's a polished patch to look at so there's my best bet.
Regards
1. Take a look at this (read it through) Howto suggest features
2. If rejected - code it yourself, this is a perfect opportunity to learn about Visual C++ programming both in general and to understand the quirks/intricasy's about Win32/ATL/WTL programming I've come to understand that for a feature to have any (read good) chance of being accepted, Arnetheduck (creator/main developer) want's a polished patch to look at so there's my best bet.
Regards
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
-
- Posts: 184
- Joined: 2003-05-26 11:29
- Location: UK
Not my assessment, your own admission(which I just so happen to agree with).
You have simply repeated what you asked for previously, could not be bothered to attempt to do it yourself even though you were given links to start you off.
Your intial post here does not state a feature request, but you have now changed direction( basically, you want someone else to do it for you).
As a feature request, it is in my opinion a waste of time and effort for the purpose you require.
You have simply repeated what you asked for previously, could not be bothered to attempt to do it yourself even though you were given links to start you off.
Your intial post here does not state a feature request, but you have now changed direction( basically, you want someone else to do it for you).
As a feature request, it is in my opinion a waste of time and effort for the purpose you require.
Always remember you're unique, just like everyone else.
I checked the links you gave (thanks for those by the way) but do not have the technical ability to do it myself.Gasman1015 wrote:You have simply repeated what you asked for previously, could not be bothered to attempt to do it yourself even though you were given links to start you off..
I humbly retract my request, your honor.Gasman1015 wrote:As a feature request, it is in my opinion a waste of time and effort for the purpose you require.
a simple perl script could do it for you
I just wonder what's wrong with the xml format,
you can ctrl+f it in IE just fine, AFAIK.
what is better about plain text?
I just wonder what's wrong with the xml format,
you can ctrl+f it in IE just fine, AFAIK.
what is better about plain text?
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
- Forum Moderator
- Posts: 366
- Joined: 2004-03-06 02:46
I tried that once with fusbar's list. It wasn't pretty. IE was using 250 megs of swap before I mananged to close it.Guitarm wrote:The newest format of the filelist is XML, that's readable for (most) browsers. just send the filesX.xml.bz2 file.Your friends and you can use for example Winrar to open/unpack the file and read it. simple as that , ok ?
personally i think its a bit of a pity the old dc++ filelist format was removed as it was basically plain text anyway.
Anyway, instead of doing a feature like this I suggest you look into the windows command "tree".
open a dosbox by going start -> run -> cmd -> press enter
then say you're sharing h:\stuff
type
tree h:\stuff
it should result in a nice list of things in that directory. tying
tree h:\stuff > c:\list.txt
should put the results in that file. However this board is not a tutorial for windows utils so I'll stop there, if you want more info "tree /?" or google it. I'm not at a windows machine atm so I can't guarrantee anything i just said.
Anyway, instead of doing a feature like this I suggest you look into the windows command "tree".
open a dosbox by going start -> run -> cmd -> press enter
then say you're sharing h:\stuff
type
tree h:\stuff
it should result in a nice list of things in that directory. tying
tree h:\stuff > c:\list.txt
should put the results in that file. However this board is not a tutorial for windows utils so I'll stop there, if you want more info "tree /?" or google it. I'm not at a windows machine atm so I can't guarrantee anything i just said.
XML is certainly better overall, I just thought it would be nice to have a list that was portable to non-DC users. I just need to learn how to parse the XML and all will be well!Sedulus wrote:a simple perl script could do it for you
I just wonder what's wrong with the xml format,
what is better about plain text?
hey no problem, makes more sense to me then people coding up something that already works well.ljirvin wrote:Twink! This is great! Thanks for the suggestion - it works pretty well.Twink wrote:Anyway, instead of doing a feature like this I suggest you look into the windows command "tree".
I did forget to add the /F to my commands earlier it turns on displaying files instead of just folders.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Agreed, there's a whole class of programs already out there that solve this.Twink wrote:hey no problem, makes more sense to me then people coding up something that already works well.
The simplest, you might see indexed is Winamp "Winamp Generated PlayList." I can't recall/locate any of the other programs, but if one looked...
ljirvin, this is best handled by not DC++, so I'm glad you found an alternate solution.
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37