Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2007, 09:10 AM   #46
zechs
Junior Member
zechs began at the beginning.
 
zechs's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2007
Location: Philippines
Device: PRS-500
Quote:
Originally Posted by scotty1024
Everything you need to build a Windows tool is provided. A copy of Visual Studio C++ Express (a free download) and 10 lines of C code (provided by Sony), and you've got your very own LRS to LRF tool you can customize to your heart's content.
Hi guys !!!
I scoured the prslabs site. I could not find that 10 line source code that you mentioned anywhere. Can you please provide the url?

thanks
zechs
zechs is offline   Reply With Quote
Old 04-19-2007, 10:10 AM   #47
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
Quote:
Originally Posted by zechs
I scoured the prslabs site. I could not find that 10 line source code that you mentioned anywhere. Can you please provide the url?
Check the XylogParser API manual.
igorsk is offline   Reply With Quote
Advert
Old 04-19-2007, 10:14 AM   #48
zechs
Junior Member
zechs began at the beginning.
 
zechs's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2007
Location: Philippines
Device: PRS-500
Quote:
Originally Posted by igorsk
Check the XylogParser API manual.
Oh, that one.
zechs is offline   Reply With Quote
Old 04-19-2007, 10:25 AM   #49
zechs
Junior Member
zechs began at the beginning.
 
zechs's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2007
Location: Philippines
Device: PRS-500
just out of curiosity,

Have you guys had any luck with xylogparser.dll. I could not get it to work. Keep getting error in XYP_SetXmlFileName(unsigned short *fname). The error I got ranges from 8, 11 and 12. The test file (lrs file) I used was the one that came from sony (OZ.zop).
zechs is offline   Reply With Quote
Old 04-21-2007, 09:11 AM   #50
zechs
Junior Member
zechs began at the beginning.
 
zechs's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2007
Location: Philippines
Device: PRS-500
Getting XylogParser.DLL to Work

Quote:
Originally Posted by esperanc
Has anyone tried to do this? I have tried it in python using the following code (which didn´t work):

Code:
from ctypes import *
xylog = windll.LoadLibrary("XylogParser.dll")

check = xylog.MSXML_InitInstance()

if check:
    success = xylog.XYP_Create()
    print "create=",success
    xylog.XYP_SetTextCompressionFlag(0)
    xylog.XYP_SetPCMCompressionFlag(0)
    xylog.XYP_SetFontEncFlag(0)
    xylog.XYP_SetProducerName(u"test")
    #XYP_SetMsgWnd(wnd);
    #XYP_SetMsgID(WM_USER + 100)
    parse = xylog.XYP_ParseDocument(u"test.lrs")
    print "parse=",parse
    xylog.XYP_Release()
Incidentally, the output is

create= 1
parse= 0
The way I got XYP_ParseDocument to work was:

1) make sure the filename supplied is in unicode format. i.e. if your Filename is "Test.lrs", the contents of filename should be:

(c notation - sorry I am not familiar with Python)
ushort *Filename = {0x0054, 0x0065, 0x0073, 0x0074, 0x002e, 0x006c, 0x0072, 0x0073, 0x000}

2) Change the BookID (especially if you are using the sony supplied LRS files). The first 2 characters has to be: "FB"

Good luck !!!!

zechs
zechs is offline   Reply With Quote
Advert
Old 07-27-2007, 09:01 AM   #51
swr2408018
Enthusiast
swr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enough
 
Posts: 35
Karma: 501
Join Date: Jul 2007
Device: PRS-500
Has anyone registered or downloaded from the Sony site since April? I tried registering yesterday using a couple different email addresses and haven't received activation information (not in the junk mail folder, either). The site seems to have done some basic work:

a) It won't let me register again with the same email address or email address
b) It recognizes the email address if I ask them to send me my password (but here also I never receive anything)

I cannot login to the site with either account name and password.

If they've shut down the site, does anyone have a pointer to the BBeB character set specification?

Thanks!
swr2408018 is offline   Reply With Quote
Old 07-27-2007, 10:39 AM   #52
batpuppy
Connoisseur
batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.
 
batpuppy's Avatar
 
Posts: 71
Karma: 676618
Join Date: Jul 2007
Device: Kindle PW3 , Samsung TabA 8.0, Kindle fire 7.0
Hi,
I just registered at the site a few minutes ago after reading this post. I got the activation information in less than a minute and am logged into the site right now.

Quote:
Originally Posted by swr2408018 View Post
Has anyone registered or downloaded from the Sony site since April? I tried registering yesterday using a couple different email addresses and haven't received activation information (not in the junk mail folder, either). The site seems to have done some basic work:

a) It won't let me register again with the same email address or email address
b) It recognizes the email address if I ask them to send me my password (but here also I never receive anything)

I cannot login to the site with either account name and password.

If they've shut down the site, does anyone have a pointer to the BBeB character set specification?

Thanks!
batpuppy is offline   Reply With Quote
Old 07-27-2007, 10:45 AM   #53
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Quote:
Originally Posted by swr2408018 View Post
Has anyone registered or downloaded from the Sony site since April? I tried registering yesterday using a couple different email addresses and haven't received activation information (not in the junk mail folder, either). The site seems to have done some basic work:

a) It won't let me register again with the same email address or email address
b) It recognizes the email address if I ask them to send me my password (but here also I never receive anything)

I cannot login to the site with either account name and password.

If they've shut down the site, does anyone have a pointer to the BBeB character set specification?

Thanks!
Not sure if this helps, but check your spam filter settings. I remember when I registered @ their site, the time stamp of the welcome e-mail was incorrect. Some spam filters may be allergic to this.
Alexander Turcic is offline   Reply With Quote
Old 07-27-2007, 11:25 AM   #54
jasonkchapman
Guru
jasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it is
 
jasonkchapman's Avatar
 
Posts: 767
Karma: 2347
Join Date: Jul 2007
Location: NYC
Device: Sony Reader, nook, Droid, nookColor, nookTablet
Quote:
Originally Posted by Alexander Turcic View Post
Not sure if this helps, but check your spam filter settings. I remember when I registered @ their site, the time stamp of the welcome e-mail was incorrect. Some spam filters may be allergic to this.
Their mail agent is really badly configured. A lot of MTAs are likely to drop the e-mail before it even gets to a spam checker. It's not just the time stamp. They're also sending it through a machine with no reverse DNS, virtually guaranteeing it's going to get dropped.

Add to that, it's sending HTML e-mail with a mangled MIME type header and no multi-part plain-text component, and you've got a recipe for getting dropped in the bit bucket unknown.

If you don't get the e-mail immediately, and it's not in your junk filters, you'll have to use another address. A lot of commercial services are going to reject it out of hand.
jasonkchapman is offline   Reply With Quote
Old 07-27-2007, 11:33 AM   #55
batpuppy
Connoisseur
batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.batpuppy ought to be getting tired of karma fortunes by now.
 
batpuppy's Avatar
 
Posts: 71
Karma: 676618
Join Date: Jul 2007
Device: Kindle PW3 , Samsung TabA 8.0, Kindle fire 7.0
Well not sure if this will help or not but yahoo mail seem to have no problem getting the email.
batpuppy is offline   Reply With Quote
Old 07-27-2007, 11:36 AM   #56
jasonkchapman
Guru
jasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it isjasonkchapman knows what time it is
 
jasonkchapman's Avatar
 
Posts: 767
Karma: 2347
Join Date: Jul 2007
Location: NYC
Device: Sony Reader, nook, Droid, nookColor, nookTablet
Quote:
Originally Posted by batpuppy View Post
Well not sure if this will help or not but yahoo mail seem to have no problem getting the email.
Somehow, that seems appropriate. Yahoo! was never too big on details like RFCs anyway.
jasonkchapman is offline   Reply With Quote
Old 07-27-2007, 11:39 AM   #57
swr2408018
Enthusiast
swr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enoughswr2408018 will become famous soon enough
 
Posts: 35
Karma: 501
Join Date: Jul 2007
Device: PRS-500
Thanks, guys, that (Yahoo hotmail account) did the trick! Steve
swr2408018 is offline   Reply With Quote
Old 07-31-2007, 06:54 AM   #58
flubu
master of my own domain
flubu began at the beginning.
 
flubu's Avatar
 
Posts: 29
Karma: 10
Join Date: Jun 2007
Location: Cambridge, UK
Device: Sony Reader
Quote:
Originally Posted by scotty1024 View Post
The only "tool" is the XYLog parser DLL.

So far in the tool department it's "We help those whom help themselves." :-)

I've got an official parser API spec to aim for in Java, I'm a happy coder.

This officially derails all other efforts.
If you need another java hand, let me know. It's what I do for a living and I'd be interested in helping out.
flubu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Makers by Cory Doctorow officially launched, free on his site zacheryjensen Deals and Resources (No Self-Promotion or Affiliate Links) 2 10-29-2009 12:06 PM
Sony Reader and ebook websites launched in Belgium in October AlfonsVH News 20 08-27-2009 04:43 PM
Sony's Developer Site - ? Dr. Drib Sony Reader Dev Corner 2 02-05-2009 08:08 AM
iLiad iRex Developer Site launched! CommanderROR iRex Developer's Corner 14 07-19-2006 12:17 PM


All times are GMT -4. The time now is 04:00 PM.


MobileRead.com is a privately owned, operated and funded community.