why new filelists are sent in xml format?
Moderator: Moderators
why new filelists are sent in xml format?
could someone please explain why the new dc++ clients send filelists in xml format?
I am guessing 99% of users don't really care about the format of the filelists and they only download them once to just view them (in dc++.) I very much doubt they are going to look at the lists later on (esp. from outside dc.) The redundant increase in the size of filelists (files.xml.bz2 could be more than 5 times larger than MyList.bz2) just wastes upload and download bandwidth of users and hubs (especially those hubs that have bots downloading filelist of every user that enters the hub everytime.)
-Thanks
I am guessing 99% of users don't really care about the format of the filelists and they only download them once to just view them (in dc++.) I very much doubt they are going to look at the lists later on (esp. from outside dc.) The redundant increase in the size of filelists (files.xml.bz2 could be more than 5 times larger than MyList.bz2) just wastes upload and download bandwidth of users and hubs (especially those hubs that have bots downloading filelist of every user that enters the hub everytime.)
-Thanks
-
- Posts: 506
- Joined: 2003-01-03 07:33
The format doesn't matter much but XML is nice enough. The content of the file is the interesting part. The point is that later versions of DC++ contain TTHroots as extra information. The increas in size is mostly due to this fact.
You might also want to read the thread above which is partly connected to your question.
http://dcplusplus.sourceforge.net/forum ... php?t=9546
you-waste-less-in-the-long-run-by-downloading-correct-roots-than-guessing-from-names-ly'ers.
You might also want to read the thread above which is partly connected to your question.
http://dcplusplus.sourceforge.net/forum ... php?t=9546
you-waste-less-in-the-long-run-by-downloading-correct-roots-than-guessing-from-names-ly'ers.
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Re: why new filelists are sent in xml format?
Can you please explain what parts of XML file lists are redundant compared to the older file lists?Murdock wrote:The redundant increase in the size
http://dcplusplus.sourceforge.net/forum ... hp?t=10037 is also relevant.
you are right. most of the size increase is due to the TTH fields not the tags (I totally forgot about the extra information the new format carries; i.e. TTH fields)cologic wrote:http://dcplusplus.sourceforge.net/forum ... hp?t=10037 is also relevant.
I removed all the tags from a filelist and recompressed it. Its size actually became larger... very interesting
I know i am only new but just wanted to ask something on this subject , Since the file output is in xml format this would be able to be used as an rss feed would it not. What i mean , is ie you have a private hub for your site you have a loop run say every 30 mins to grab everybodys file list and from those lists because they are xml you could make a rss feed out of them for a page listing all the files the are currently available for download.
I know this may sound strange or this may have already been covered and i will get told off about something that is already being dicussed somewhere else.
I am not asking how to do it i already know how to do it i was just curious as to if the fileout had this intention sort of built into it.
Icey
I know this may sound strange or this may have already been covered and i will get told off about something that is already being dicussed somewhere else.
I am not asking how to do it i already know how to do it i was just curious as to if the fileout had this intention sort of built into it.
Icey
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Interesting defensiveness. I guess I am an ogre after all.icey wrote:I know this may sound strange or this may have already been covered and i will get told off about something that is already being dicussed somewhere else.
No, XML was chosen because DC++ already uses it quite a bit, and it's inherently extensible.icey wrote:I am not asking how to do it i already know how to do it i was just curious as to if the fileout had this intention sort of built into it.
What you describe sounds possible. It also seems possible to have done with .dclst or .bz2 list files if you care deeply enough.