Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread swedebugia
On 2019-01-23 19:58, Pierre Neidhardt wrote: I'm not sure you need to extract Quickdocs data at all. What Quickdocs does is all automated I believe, so you could probably do the same it's already doing: extract the metadata from the project themselves. Most of the data is contained in the .asd

Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread Pierre Neidhardt
I'm not sure you need to extract Quickdocs data at all. What Quickdocs does is all automated I believe, so you could probably do the same it's already doing: extract the metadata from the project themselves. Most of the data is contained in the .asd files. I think looking at Quickdocs code cou

Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread Katherine Cox-Buday
Ricardo Wurmus writes: > swedebugia writes: > >>> The second “link” tag opens but is never closed. This may be valid >>> HTML, but it is not valid XML, which is what xml->sxml expects. >> >> Thanks for the quick answer! >> I will try to remove this line before handling over to the parser. > > I

Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread Ricardo Wurmus
swedebugia writes: > On 2019-01-23 16:58, Ricardo Wurmus wrote: >> >> swedebugia writes: >> The second “link” tag opens but is never closed. This may be valid HTML, but it is not valid XML, which is what xml->sxml expects. >>> >>> Thanks for the quick answer! >>> I will try to remov

Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread swedebugia
On 2019-01-23 16:58, Ricardo Wurmus wrote: swedebugia writes: The second “link” tag opens but is never closed. This may be valid HTML, but it is not valid XML, which is what xml->sxml expects. Thanks for the quick answer! I will try to remove this line before handling over to the parser.

Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread Ricardo Wurmus
swedebugia writes: >> The second “link” tag opens but is never closed. This may be valid >> HTML, but it is not valid XML, which is what xml->sxml expects. > > Thanks for the quick answer! > I will try to remove this line before handling over to the parser. I would recommend looking for a bet

Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread swedebugia
On 2019-01-23 15:22, Ricardo Wurmus wrote: Hi, (define (get-homepage name) "Get the latest meta release file. From the links in this we extract all other information we need." (call-with-temporary-output-file (lambda (temp port) (and (url-fetch (homepage name) temp) (

Re: Help with sxml simple parser for the quicklisp importer

2019-01-23 Thread Ricardo Wurmus
Hi, > (define (get-homepage name) > "Get the latest meta release file. From the links in this we extract all > other information we need." > (call-with-temporary-output-file >(lambda (temp port) > (and (url-fetch (homepage name) temp) > (xml->sxml (get-string-all port))