View Single Post
Old 07-19-2009, 05:52 AM   #86
ebs
Zealot
ebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enough
 
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
For curious people - here is how Amazon deletes books.
There is a special "todo" server (https://todo-g7g.amazon.com) which is polled by Kindle regulary. It provides a simple webservice that allows Amazon to specify list of actions to perform. Here is a sample list of actions:
  • Upload system log (this is done regulary)
  • Upload diagnostic info (611)
  • Upload a file from /proc tree
  • Delete a book
  • Download a book (this is how your purchases are pushed)

Sample deletion request is shown below (I crafted it manualy, so real one from Amazon may differ, but this one does work, book key was mangled):

Code:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <total_count>1</total_count>
    <next_pull_time>20090719 20:00:00</next_pull_time>
    <items>
        <item priority="0" type="EBSP" action="DEL" key="B000XXXX" sequence="0">Book name</item>
    </items>
</response>
I can confirm that annotations are also deleted.
This feature can be trivialy disabled by patching Kindle firmware
ebs is offline   Reply With Quote