Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Get data from Sony PRS-T1
-- Get highlighted parts
-- in /media/READER/Sony_Reader/database/books.db:
SELECT file_name, page, name FROM markups;
<?xml version="1.0" encoding="UTF-8"?>
<!--
sonyprsnote2svg.xsl - extract SVG notes from Sony PRS reader data
apply this to /media/READER/Sony_Reader/media/notepads/*.note files
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:note="http://www.sony.com/notepad"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<xsl:template match="/note:notepad">
<!-- TODO: multiple pages -->
<xsl:apply-templates select="//note:page[1]"/>
</xsl:template>
<xsl:template match="note:page">
<xsl:copy-of select="svg:svg"/>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.