taskmldonkey, a multi-networks file-sharing client - Tasks: task #4749, xslt for transforming some...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #4749: xslt for transforming some external input into some xml that can be easily parsed

Submitter:  Amorphous <amorphous>
Submitted:  Thu 06 Oct 2005 01:08:22 PM UTC
   
 
Category:  Core Priority:  3 - Low
Status:  None Assigned to:  None
Open/Closed:  Open Should Start On:  Wed 05 Oct 2005 10:00:00 PM UTC
Should be Finished on:  Wed 05 Oct 2005 10:00:00 PM UTC

Jump to the original submission

Mon 25 Sep 2006 08:43:42 PM UTC, comment #7: 

What about patch #5424?

spiralvoice <spiralvoice>
Group administrator
Thu 06 Oct 2005 01:08:22 PM UTC, comment #6: 

This item has been reassigned from the project mldonkey, a multi-networks file-sharing client patch tracker to your tracker.

The original report is still available at patch #4482

Following are the information included in the original report:

[field #0]                  Item ID: 4482
[field #1]                 Group ID: 1409
[field #2]              Open/Closed: Open
[field #3]                 Severity: 3 - Normal
[field #4]                  Privacy: Public
[field #6]                 Category: None
[field #7]             Submitted by: amorphous
[field #8]              Assigned to: None
[field #9]             Submitted on: Sa 01.10.2005 um 21:50
[field #10]                  Summary: xslt for transforming some external input into some xml that can be easily parsed
[field #11]      Original Submission: We can then incoorporate different external searches or other things into mldonkey, without recompiling for every change/addition.

I used xsltproc to test it out. http://xmlsoft.org/XSLT/xsltproc2.html
We might just execute the external xsltproc binary from mldonkey and translate the output into results.
But I didn t code that yet.
[field #13]               Item Group: None
[field #14]                   Status: Postponed
[field #15]        Component Version: None
[field #16]         Platform Version: None
[field #17]          Reproducibility: None
[field #18]               Size (loc): None
[field #19]            Fixed Release: None
[field #20]          Planned Release: None
[field #21]                   Effort: 0.00
[field #25]                 Priority: 3 - Low
[field #28]         Percent Complete: 0%
[field #30]                  Release: None
[field #55]     Custom Select Box #1: None
[field #56]     Custom Select Box #2: None
[field #57]     Custom Select Box #3: None
[field #58]     Custom Select Box #4: None
[field #59]     Custom Select Box #5: None
[field #60]     Custom Select Box #6: None
[field #61]     Custom Select Box #7: None
[field #62]     Custom Select Box #8: None
[field #63]     Custom Select Box #9: None
[field #64]    Custom Select Box #10: None

spiralvoice <spiralvoice>
Group administrator
Thu 06 Oct 2005 01:08:13 PM UTC, comment #5: 

Moving this patch to the task tracker.
Let MLDonkey depend on external binaries is IMHO not a good option,
having in mind the numerous platforms MLDonkey works on.
Working the "Unix way" on Windows is not easy;-)
Also I would propose to put link parsing functionality into an
external application like a GUI to let MLDonkey only do the
downloading, this would be more like the "Unix way".

spiralvoice <spiralvoice>
Group administrator
Sun 02 Oct 2005 02:40:42 AM UTC, comment #4: 

The clean way is the mldonkey way, like every other lib it currently uses.  Mldonkey doesn't spawn external binaries AFAIK.

These new search types and their search results must be available to all interfaces and be fully integrated. Everything comes back to common. I would guess similar to the way commonBitzi makes requests for bitzi tickets, but instead of Xml.parsing the result, in this case it would Xslt.parse(?) the result and create commonResults which can then be handled like any other search.


Anonymous
Sun 02 Oct 2005 12:27:50 AM UTC, comment #3: 

So you think the unix way is "not clean".

Anyway xsltproc is just an application that is an userinterface (or something like that) for libxslt. So it's not hard to link the same functionality in.
About gdome_xslt, it uses libxslt, too. We don't need the additional functionality that gdome_xslt provides, at least now.

It's just an easy way to extend mldonkeys functionality, without putting yet another lib. in. (So it would be an runtime option if you want to provide the xsltproc binary.) However in the long run we perhaps should link the functionality in (if only for easy distribution and performance reasons).

When this is too long around without getting a propper patch i'll move it to another tracker. (I like to do it, but i'm not sure when i will. So anyone may feel invited.)

Amorphous <amorphous>
Sat 01 Oct 2005 10:08:51 PM UTC, comment #2: 

This is not a patch for mldonkey. Maybe tasks would be a better place if you plan to write this?

Executing extenal binaries is not clean. Maybe some bindings would help.

http://helm.cs.unibo.it/software/gdome_xslt/

Anonymous
Sat 01 Oct 2005 08:21:38 PM UTC, comment #1: 

replace QUERY and execute the following to test it:
wget -O tpb.html 'http://thepiratebay.org/search.php?q=QUERY'
xsltproc --html --warnnet tpb.xslt tpb.html >out.xml

Amorphous <amorphous>
Thu 06 Oct 2005 01:08:22 PM UTC, original submission:  

We can then incoorporate different external searches or other things into mldonkey, without recompiling for every change/addition.

I used xsltproc to test it out. http://xmlsoft.org/XSLT/xsltproc2.html
We might just execute the external xsltproc binary from mldonkey and translate the output into results.
But I didn't code that yet.

Amorphous <amorphous>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #3631:  tpb.xslt added by amorphous (884B - application/xml - transforms the html from the piratebay search results into name, link xml element pairs)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-03-06 spiralvoice CategoryNone Core
2005-10-06 spiralvoice SummaryReassigned item: xslt for transforming some external input into some xml that can be easily parsed xslt for transforming some external input into some xml that can be easily parsed
2005-10-06 spiralvoice Reassign itemFrom group mldonkey, a multi-networks file-sharing client, patch tracker To group mldonkey, a multi-networks file-sharing client, task tracker

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code