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 authentification level.

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

Submitted by:  Amorphous <amorphous>
Submitted on:  Thu 06 Oct 2005 01:08:22 PM UTC  
 
Category: CorePriority: 3 - Low
Status: NoneAssigned to: None
Open/Closed: OpenShould 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 Jump to the original submission)

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

What about patch #5424?

spiralvoice <spiralvoice>
Project 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>
Project 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>
Project 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>

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 06 Mar 2006 11:08:44 AM UTCspiralvoiceCategoryNone=>Core
Thu 06 Oct 2005 02:16:11 PM UTCspiralvoiceSummaryReassigned 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
Thu 06 Oct 2005 01:08:22 PM UTCspiralvoiceReassign 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.1-cleanup