[Freedaisy-devel] Adding a Standard_href in template
Status: Alpha
Brought to you by:
alexissoft
|
From: Alexis R. <al...@fn...> - 2005-05-25 21:39:47
|
Hi,
I've just coded a Standard_href class in template, it's a class derived from
str who is very short and very useful.
With DAISY, you have a lot of links like file.smil#part583 and a
link.split('#')[0] in the sourcecode is not very clean :)
So, if the objet returned is a Standard_href, you can make link.file() or
link.anchor() and you will have "file.smil" or "part583" respectively.
This class is integrated into unittests and used with Standard_link (and
usable for discinfo).
Code commited, you can make a try and report bugs :)
Thank you
Alexis ROBERT
|