Re: [cs-devel] opensong -> html parser
Status: Inactive
Brought to you by:
matysek03
From: Martin Z. <mat...@se...> - 2009-01-11 23:16:16
|
Hi all, I've begun working on the html parser. (I would rather say 'generator' instead of parser). At the moment I've only created definition of some methods in files: /trunk/changingsong/lib/cs/io/song/song.py /trunk/changingsong/lib/cs/io/song/lxml.py /trunk/changingsong/lib/cs/pr/htmlgen.py The plan is the following: 1) main window, menu: File->Load - load a song using: LxmlSongSource.read_song() and display raw xml in main window using LxmlSongSource.song_repr(). 2) generate html code into Presentation Objects (PO) using HtmlGenerator.create_slides() and display generated html code in control window 3) send POs to the presentation window for displaying I hope I described it clearly. Martin Martin Zibricky píše v Ne 04. 01. 2009 v 01:07 +0100: > Hi all, > > I think that Jochen's suggestion (create in the beginning parser > opensong->html) is a good idea. > > I think I should be able to begin working on it next week. > > Does anyone have any ideas/suggestions how this could work or how the > API could look like? > > Every comment is welcome. > > Martin |