View Single Post
Old 09-22-2011, 11:15 AM   #5
CdnBloodlust
Member
CdnBloodlust doesn't litterCdnBloodlust doesn't litter
 
Posts: 18
Karma: 120
Join Date: Sep 2011
Location: Edmonton, AB
Device: Kobo Touch
Thank you.

So much stuff I could post but I don't wanna spam this forums. Look how the kobo touch communicates with the kobo servers for ebooks. Here's one example which isn't filled out (I've seen what the filled out request looks like too).

Code:
<?xml version="1.0" encoding="UTF-8"?>
<KEpubRequest xmlns="http://kobobooks.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://kobobooks.com Requests.xsd">
	<RequestHeader>
		<UserID>%1</UserID>
		<UserKey>%2</UserKey>
	</RequestHeader>
	<RequestBody>
		<ContentType>6</ContentType>
		<ContentID>%3</ContentID>
		<EPubPlatform>%4</EPubPlatform>
		<NeedUserInfo>%5</NeedUserInfo>
		<NeedDownloadURLs>%6</NeedDownloadURLs>
	</RequestBody>
</KEpubRequest>
This is obviously a template which needs to be filled out. Strange the format with a percent sign and a number, I know I've seen %s before but not %1 and %2. What's that from? I would love to get my hands on the pickel source, it would probably have to be without a lot of the adobe stuff. Maybe one day.
CdnBloodlust is offline   Reply With Quote