View Single Post
Old 10-15-2010, 08:51 AM   #4
johnnyb
Cloud Reader
johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.
 
Posts: 1,124
Karma: 4000066
Join Date: Aug 2010
Device: Kindle Oasis, Kindle Scribe, iPad Pro 11
Hi Andrew, what I did was take a metadata.xml from any Sony publication and just change the information from their title, publisher, date etc. to your publication's title, publisher, date (explode the epub in Calibre, put the metadata.xml in the META... folder and rebuild again)...
In fact, the metadata.xml being present already has the file show up in Periodicals, but of course you need to create it first...

Here's the code that has to be put in a txt file that has to be saved or renamed as .xml:

Code:
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
		 xmlns:dcterms="http://purl.org/dc/terms/"
		 xmlns:dc="http://purl.org/dc/elements/1.1/" 
		 xmlns:prs="http://xmlns.sony.net/e-book/prs/">
	<rdf:Description rdf:about="">
		<dc:title>PUT THE NEWSPAPERS NAME HERE</dc:title>
		<dc:publisher>PUT THE PUBLISHERS NAME HERE</dc:publisher>
		<dcterms:alternative>PUT AN ALTERNATE SHORTER TITLE HERE</dcterms:alternative>
		<dcterms:issued>PUT DATE HERE IN THIS FORMAT yyyy-mm-dd</dcterms:issued>
		<dc:language>en</dc:language>
		<dcterms:conformsTo rdf:resource="http://xmlns.sony.net/e-book/prs/periodicals/1.0/newspaper/1.0"/>
		<dcterms:type rdf:resource="http://xmlns.sony.net/e-book/prs/datatype/newspaper"/>
		<dcterms:type rdf:resource="http://xmlns.sony.net/e-book/prs/datatype/periodical"/>
	</rdf:Description>
</rdf:RDF>
of course this does nothing to the navigation in the reader (bar does show up but only has the TOC button which only leads to the very first page of the document), since this is handled by the atom.xml file that I haven't found out how to create automatically... Unfortunately it doesn't resemble the structure of the standard TOC so cannot be simply copied over from some other file...
johnnyb is offline   Reply With Quote