unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Guile parsing html and htmlprag.
@ 2013-07-24 13:04 Dmitry Bogatov
  2013-07-24 13:52 ` Taylan Ulrich B.
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Bogatov @ 2013-07-24 13:04 UTC (permalink / raw)
  To: guile-devel


Hello!

Beeing in need to parse html(not xml) with Guile, I discovered that we
have no one-true-way solution, like python's Beautiful Soup. The best we
have is htmlprag-0.16. It works for me, good documented(even in
TexInfo), but it is dropped by it's author. I think it would get more
love as part of official Guile modules tree (personally, I always prefer
standard modules to something-that-even-have-no-git-repository).

If you agree with proposition, I will start work on patch.

--
Best regards, Dmitry Bogatov <KAction@gnu.org>,
Free Software supporter and netiquette guardian.
	git clone git://gitorious.org/illusionoflife-read-only/rc-files.git --depth 1
	GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guile parsing html and htmlprag.
  2013-07-24 13:04 Guile parsing html and htmlprag Dmitry Bogatov
@ 2013-07-24 13:52 ` Taylan Ulrich B.
  2013-07-24 14:09   ` [guile] " Dmitry Bogatov
  2013-07-26 21:23   ` Mark H Weaver
  0 siblings, 2 replies; 6+ messages in thread
From: Taylan Ulrich B. @ 2013-07-24 13:52 UTC (permalink / raw)
  To: Dmitry Bogatov; +Cc: guile-devel

Dmitry Bogatov <KAction@gnu.org> writes:

> Hello!
>
> Beeing in need to parse html(not xml) with Guile, I discovered that we
> have no one-true-way solution, like python's Beautiful Soup. The best we
> have is htmlprag-0.16. It works for me, good documented(even in
> TexInfo), but it is dropped by it's author. I think it would get more
> love as part of official Guile modules tree (personally, I always prefer
> standard modules to something-that-even-have-no-git-repository).
>
> If you agree with proposition, I will start work on patch.
>
> --
> Best regards, Dmitry Bogatov <KAction@gnu.org>,
> Free Software supporter and netiquette guardian.
> 	git clone git://gitorious.org/illusionoflife-read-only/rc-files.git --depth 1
> 	GPG: 54B7F00D
> Html mail and proprietary format attachments are forwarded to /dev/null.

If I'm not mistaken, having a nontrivial amount of code (e.g. whole
module) become part of the official Guile distribution requires the
copyright of the code (and subsequent contributions) to be assigned to
the FSF.  So both you and all original authors of htmlprag would need to
officially assign their copyright.  (This might be implausible if there
have been a dozen contributors.)

Otherwise, might want to look into guildhall.

Taylan



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [guile] Re: Guile parsing html and htmlprag.
  2013-07-24 13:52 ` Taylan Ulrich B.
@ 2013-07-24 14:09   ` Dmitry Bogatov
  2013-07-26 21:23   ` Mark H Weaver
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry Bogatov @ 2013-07-24 14:09 UTC (permalink / raw)
  To: Taylan Ulrich B.; +Cc: guile-devel



>> Beeing in need to parse html(not xml) with Guile, I discovered that
>> we have no one-true-way solution, like python's Beautiful Soup. The
>> best we have is htmlprag-0.16. I think it would get more love as part
>> of official Guile modules tree (personally, I always prefer standard
>> modules to something-that-even-have-no-git-repository).
> If I'm not mistaken, having a nontrivial amount of code (e.g. whole
> module) become part of the official Guile distribution requires the
> copyright of the code (and subsequent contributions) to be assigned to
> the FSF.  So both you and all original authors of htmlprag would need to
> officially assign their copyright.  (This might be implausible if there
> have been a dozen contributors.)

Well, I can try to talk to original author, although I doubt he will
take burden of legal stuff. My copyright is matter of time, although there
will be no my code.

> Otherwise, might want to look into guildhall.

I heard about it, analog of pypi, cpan or hackage, but where is it?

--
Best regards, Dmitry Bogatov <KAction@gnu.org>,
Free Software supporter and netiquette guardian.
	git clone git://gitorious.org/illusionoflife-read-only/rc-files.git --depth 1
	GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guile parsing html and htmlprag.
  2013-07-24 13:52 ` Taylan Ulrich B.
  2013-07-24 14:09   ` [guile] " Dmitry Bogatov
@ 2013-07-26 21:23   ` Mark H Weaver
  2013-07-27 13:31     ` [guile] " Dmitry Bogatov
  2013-08-17 12:28     ` Ludovic Courtès
  1 sibling, 2 replies; 6+ messages in thread
From: Mark H Weaver @ 2013-07-26 21:23 UTC (permalink / raw)
  To: Taylan Ulrich B.; +Cc: guile-devel, Dmitry Bogatov

taylanbayirli@gmail.com (Taylan Ulrich B.) writes:

> If I'm not mistaken, having a nontrivial amount of code (e.g. whole
> module) become part of the official Guile distribution requires the
> copyright of the code (and subsequent contributions) to be assigned to
> the FSF.  So both you and all original authors of htmlprag would need to
> officially assign their copyright.

That can't be right, because Guile has already imported several modules
of similar size without copyright assignment. e.g. SSAX, match, and
several SRFI implementations.  Htmlprag is distributed under the LGPL
2.1 or later, which should be fine for us.

Of course I'd like to hear a pronouncement from one of the official
maintainers, but I see no reason why we couldn't import htmlprag and
start modifying it.

     Regards,
       Mark



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [guile] Re: Guile parsing html and htmlprag.
  2013-07-26 21:23   ` Mark H Weaver
@ 2013-07-27 13:31     ` Dmitry Bogatov
  2013-08-17 12:28     ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry Bogatov @ 2013-07-27 13:31 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guile-devel


Mark H Weaver <mhw@netris.org> writes:
>> If I'm not mistaken, having a nontrivial amount of code (e.g. whole
>> module) become part of the official Guile distribution requires the
>> copyright of the code (and subsequent contributions) to be assigned to
>> the FSF.
> That can't be right, because Guile has already imported several modules
> of similar size without copyright assignment. e.g. SSAX, match, and
> several SRFI implementations.
I hope you are right, but SSAX is public domain.

--
Best regards, Dmitry Bogatov <KAction@gnu.org>,
Free Software supporter and netiquette guardian.
	git clone git://gitorious.org/illusionoflife-read-only/rc-files.git --depth 1
	GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guile parsing html and htmlprag.
  2013-07-26 21:23   ` Mark H Weaver
  2013-07-27 13:31     ` [guile] " Dmitry Bogatov
@ 2013-08-17 12:28     ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2013-08-17 12:28 UTC (permalink / raw)
  To: guile-devel

Mark H Weaver <mhw@netris.org> skribis:

> taylanbayirli@gmail.com (Taylan Ulrich B.) writes:
>
>> If I'm not mistaken, having a nontrivial amount of code (e.g. whole
>> module) become part of the official Guile distribution requires the
>> copyright of the code (and subsequent contributions) to be assigned to
>> the FSF.  So both you and all original authors of htmlprag would need to
>> officially assign their copyright.
>
> That can't be right, because Guile has already imported several modules
> of similar size without copyright assignment. e.g. SSAX, match, and
> several SRFI implementations.  Htmlprag is distributed under the LGPL
> 2.1 or later, which should be fine for us.

Indeed.  When importing third-party code, it is usually unreasonable to
ask the author(s) to assign copyright for code that was not initially
written for Guile (info "(maintain) Copying from Other Packages").

For Htmlprag to be considered for inclusion in Guile, it would need to
have good documentation, a reasonable test suite, and an API that looks
good (I don’t know whether this is the case, just giving the check list
in case ;-)).

Ludo’.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-17 12:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 13:04 Guile parsing html and htmlprag Dmitry Bogatov
2013-07-24 13:52 ` Taylan Ulrich B.
2013-07-24 14:09   ` [guile] " Dmitry Bogatov
2013-07-26 21:23   ` Mark H Weaver
2013-07-27 13:31     ` [guile] " Dmitry Bogatov
2013-08-17 12:28     ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).