On Tue, Nov 10, 2009 at 10:50:43PM +0900, Ichiro Watanabe wrote: > > For an individual person, lilypond-book can already process html > > files, so there is nothing extra needed. > > My goal is to embed the lilypond source in HTML source. Something like this > > <html> > <head> > <title>Example</title> > </head> > <body> > This is my new song: <img > src="localorpublic/cgi-bin/lilypondmagic.cgi?\relative c { \clef bass > c d e c }"> > </body> > </html>
If you are writing the html yourself, then why do you want a cgi call? You get the desired output by running lilypond-book with the [verbose] option. It doesn't make any sense to regenerate the output every time somebody looks at the webpage. > > If you want to have it for a multi-user situation like a wiki, > > then search for "lilypond wiki" or "mediawiki" or similar terms on > > the mailist; it has been discussed before. > > This is slightly off-topic, but for everyone's benefit, this is what I > know about the MediaWiki situation. If you don't want a multi-user situation, then I don't see the point of a cgi script...? > This works fine for private (intranet) wikis and for public wikis that > are not notable enough to be subject to DoS attacks. Yes, which is why I suggested that you look into "safe mode". Cheers, - Graham _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel