Menu

#266 Bookmark list as text list exportieren

v1.0
closed
bookmark (5)
5
2024-06-30
2012-03-06
Anonymous
No

...

Discussion

  • frink

    frink - 2012-03-06

    If you are using Linux, you can use the following skript. You can even run it under Windows with cygwin.

    !/bin/bash

    Usage: ./export bookmark.xml

    A file list.txt is created, which contains the bookmarks

    for i in $(cat $1); do

    Auslesen der bookmark.xml

    link=$(echo $i | sed 's!///A!//A!g' | tr -d "\"" | cut -d "=" -f 2 | grep "zim://" | sed 's!zim://A/!!g' | sed 's!.html!!g'| sed 's!%20!_!g'| sed 's!%C3%BC!ü!g' | sed 's!%C3%9C!Ü!g' | sed 's!%C3%84!Ä!g'| sed 's!%C3%A4!ä!g'| sed 's!%C3%9F!ß!g' | sed 's!%C3%B6!ö!g' | sed 's!%C3%96!Ö!g' )
    
    if [[ -n $link ]]; then 
        echo $link >> list.txt
    fi
    

    done

     
  • Emmanuel Engelhart

    I think the feature was not clear enough. This should be integrated in the UI and no POSIX dependent. This shoudl be implemented in Javascript.

     
  • frink

    frink - 2012-03-06

    This should be integrated in the
    UI and no POSIX dependent. This shoudl be implemented in Javascript.

    Yes, of course, i just wanted to suggest this, if he doesn't want to wait.

     
  • Emmanuel Engelhart

    Thank you for your quick answer and workaround.

     
  • Emmanuel Engelhart

    • labels: User Interface --> bookmark
     
  • Emmanuel Engelhart

    • status: open --> closed
    • assigned_to: Emmanuel Engelhart
     
  • Emmanuel Engelhart

    Partly implemented (depending the Kiwix you use) and still not perfect... but a pretty actual topic we work on.

     

Log in to post a comment.