Merge lp:~andrea.corbellini/a4/parser into lp:a4
Status: | Merged |
---|---|
Merged at revision: | 4 |
Proposed branch: | lp:~andrea.corbellini/a4/parser |
Merge into: | lp:a4 |
Diff against target: |
78 lines (+27/-10) 2 files modified
a4lib/app.py (+3/-3) a4lib/presentation.py (+24/-7) |
To merge this branch: | bzr merge lp:~andrea.corbellini/a4/parser |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Colangelo | Approve | ||
Review via email: mp+26311@code.launchpad.net |
Commit message
Parse the SVG file to look for presentation information.
Description of the change
This code looks for a <metadata> tag with the id "a4-presentatio
Here's how you can test this change:
1. with your favorite editor, create an SVG document;
2. open it with a text editor and put into the root element (<svg>) the following code:
<metadata id="a4-
3. save and open the file with A4.
Now, if you introspect the a4lib.presentat
{u'key': u'value'}
See also my mail to the mailing list.