воскресенье, 27 мая 2012 г.

publish-kindle-quotes: the script for publication citations tumblr.com


All citations, bookmarks and notes are stored in plain text file. My Clippings. txt. (or. My clippings. txt. for the Russian interface ). And if the record books to the device can be ... I'm tired of this order, because there is Wi-Fi, but here are annoying dancing with wires. ugly.
Search by expanses of the network issued a hack. usbNetwork. , With the help of Kindle allows communication with them via ssh. In addition to the latest versions of modification due to the developers added USB access via Wi-Fi. Part of the problem ceased to exist. Now quotes are loaded on Big Brother with a single command:.

scp root @ kin. dle. ip: \\ '/ mnt / us / documents /' My clippings. txt '\\' ~ /. 


One would think, live and be happy. But that option tired of the lack of versatility and flexibility. Then I wanted to handle the quote directly to the device. Fortunately, found inside the Kindle familiar tools:. grep. ,. sed. ,. curl. She was born the idea to write a script for the publication of the last quote on the Internet. The fact that the function ... Amazon allows you to share records for books from his store - for the majority of Russian users neaktulno.
Rose edge new question: ... Found the answer fairly quickly and pleased with him one hundred percent. The main role assumed service.
tumblr. com. Why exactly is it?.



  • Decent looks ...


  • No hype.


  • To quote a special type of record ...


  • Friendly to the curl API.


  • Integration with Twitter and Facebook.



Further events developed rapidly. found. example of. Tumbler with API and started experimenting with parsing My Clippings. txt. I am sure that a block of code with regular expressions is to improve the. I would be grateful for advice. And now, in fact, the instruction.

installation.

The required dependencies:. hack. launchpad.



  1. Download the script. quote2tumblr. sh. and write their data to enter the variables and TMB_USER TMB_PASS.


  2. copy. quote2tumblr. sh. the directory. / launchpad. Kindle.


  3. edit the file. / launchpad / servicecmds. ini. By writing to the end of two lines:.

    ;; Post last quote to tumblr. com. 
    Shift Q =! / Bin / ash / mnt/us/launchpad/quote2tumblr. sh.


    The last line, we run the script tied to a combination of keys. Shift Shift Q. ( press the buttons should be consistent and fast).


  4. Launchpad should be restarted for the new combination in force:. Shift Shift Space.



Integration with social networks:. interface Tumbler repost messages to Twitter and Facebook set up is not entirely clear. Below is a picture that explains how to get to the desired menu:.














Click on the name of the blog, and then - Settings.


How do I post quotes?.



  1. Select the appropriate conclusion in the book and make a standard means of cutting: press the central joystick button, indicated by arrows starting position in the text, confirm the central button and in a similar way to finish the selection.


  2. With the included network (Wi-Fi/3G) then the combination of. Shift Shift Q. Voila! .



in total.
What have we achieved? . If desired, adjust the script to work with other services will not be difficult. Share interesting literary finds with friends was an order of magnitude easier. Enjoy!.



Related Links:.


Комментариев нет:

Отправить комментарий