Hi Thomas and folks, I want to render a list of technical references in my site, from various sources into a single .page file. These references are now organized as various .bib files (bibtex is a very popular format to store references and to use them in LaTeX text processor, as most of you may know). I think I will need to build a new webgen extension to deal with bibtex format and to render it appropriately in html, but I have no clues on how should I start from. Is there anything like an extension tutorial, which teaches how to create the simplest possible extension, how to use it inside a .page file and so on? I have been looking for this tutorial in the last days with no success, excuse me if it already exists. Thx as always. Paulo
Hi Paulo take a look at: https://gforge.inria.fr/plugins/scmsvn/viewcvs.php/www/?rev=199&root=oar#dirlist However, I''m not sure that it is updated and works with the latest versions of webgen. To convert from bib to html you would need another tool for example: http://www.lri.fr/~filliatr/bibtex2html/ (I wrote a similar tool BItoSite http://cs.unibg.it/gargantini/software/bitosite/ - that I run with webgen but not automatically). I would be great to have a plugin for webgen that automatically do this. Bye Angelo Gargantini On 11/05/2009 05:04 AM, Paulo Almeida wrote:> Hi Thomas and folks, > > I want to render a list of technical references in my site, from > various sources into a single .page file. These references are now > organized as various .bib files (bibtex is a very popular format to > store references and to use them in LaTeX text processor, as most of > you may know). > > I think I will need to build a new webgen extension to deal with > bibtex format and to render it appropriately in html, but I have no > clues on how should I start from. > > Is there anything like an extension tutorial, which teaches how to > create the simplest possible extension, how to use it inside a .page > file and so on? I have been looking for this tutorial in the last days > with no success, excuse me if it already exists. > > Thx as always. Paulo > _______________________________________________ > webgen-users mailing list > webgen-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/webgen-users > > >-------------- next part -------------- A non-text attachment was scrubbed... Name: angelo_gargantini.vcf Type: text/x-vcard Size: 217 bytes Desc: not available URL: <http://rubyforge.org/pipermail/webgen-users/attachments/20091105/bd558b7d/attachment.vcf>
> I want to render a list of technical references in my site, from > various sources into a single .page file. These references are now > organized as various .bib files (bibtex is a very popular format to > store references and to use them in LaTeX text processor, as most of > you may know). > > I think I will need to build a new webgen extension to deal with > bibtex format and to render it appropriately in html, but I have no > clues on how should I start from. > > Is there anything like an extension tutorial, which teaches how to > create the simplest possible extension, how to use it inside a .page > file and so on? I have been looking for this tutorial in the last days > with no success, excuse me if it already exists.Have a look at the API documentation http://webgen.rubyforge.org/documentation/rdoc/index.html There you will find information about the various extensions as well as example implementations. For example, if you want to implement a new webgen tag, have a look at the documentation for the Webgen::Tag::Base module. -- Thomas
On Thu, Nov 5, 2009 at 05:04, Paulo Almeida <pema at dri.cefetmg.br> wrote:> I think I will need to build a new webgen extension to deal with > bibtex format and to render it appropriately in html, but I have no > clues on how should I start from.Well, first of all, good luck on this part :) I was fed up with the bibtex tools too and I can say the bibtex syntax is not nice it you want to parse it in a somewhat general way. I have a parser/generator that works, but it''s in Smalltalk so integrating it with webgen would not be immediate. Anyway, see http://www.squeaksource.com/Citezen.html if you''re interested. Cheers -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet