Simple Python scripts to convert Google Chrome’s bookmarks to an XML Annotations file format to be used by Google Custom Search Engine. Scripts written by Benjamin Esham (e-mail: bdesham at gmail) and Edited by Keith Mascarenhsa(e-mail: keithxm23 at gmail)
From the command line, do
python py-chrome-bookmarks.py .../path/to/Chrome/Bookmarks output.xml
The script will ignore URLs that start with the following: “javascript:” "file:///" "http://localhost" "chrome://" "http://www.www" #I had this one weird bookmark, so added this exception too.
This script is hosted on GitHub This script is based off Benjamin Esham's script on GitHub.
Copyright © 2011, Benjamin Esham. This software is released under the following version of the MIT license:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following condition: the above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.