App-adr2org

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    This distribution provides the following utilities:

     adr2org
     org2adr

FUNCTIONS
  adr2org(%args) -> [status, msg, result, meta]
    Convert Opera bookmarks (bookmarks.adr) to Org document.

    I want to keep my Opera browser bookmarks file
    ("~/.opera/bookmarks.adr") under git repository, so I can synchronize
    them between computers. There are a few annoyances though: 1) When Opera
    saves bookmarks file, it remove symlinks, so after I have to re-symlink
    the file to my git repo; 2) The ID field changes sporadically, creating
    unnecessarily large diff and merge conflicts.

    This program (and its counterpart "convert-org-to-opera-bookmarks") is
    an alternative to keeping Opera bookmarks file under git. You convert to
    .org file, put the .org file under git, and convert back to .adr. The
    advantage is that the ID field is removed so the diff is smaller and
    conflict reduced. Also, you can more conveniently edit using Emacs/other
    Org editor.

    Another alternative to this program is to use the Opera Link service
    from Opera to synchronize your bookmarks (and a few other stuffs)
    between devices. But note that Opera has closed some of its services in
    the past.

    Arguments ('*' denotes required arguments):

    *   exclude_trash => *bool*

    *   input* => *str*

        Opera addressbook file.

bin/adr2org  view on Meta::CPAN


 TODO

To see all options:

 % adr2org --help

=head1 DESCRIPTION

I want to keep my Opera browser bookmarks file (C<~/.opera/bookmarks.adr>) under
git repository, so I can synchronize them between computers. There are a few
annoyances though: 1) When Opera saves bookmarks file, it remove symlinks, so
after I have to re-symlink the file to my git repo; 2) The ID field changes
sporadically, creating unnecessarily large diff and merge conflicts.

This program (and its counterpart C<convert-org-to-opera-bookmarks>) is an
alternative to keeping Opera bookmarks file under git. You convert to .org file,
put the .org file under git, and convert back to .adr. The advantage is that the
ID field is removed so the diff is smaller and conflict reduced. Also, you can
more conveniently edit using Emacs/other Org editor.

Another alternative to this program is to use the Opera Link service from Opera
to synchronize your bookmarks (and a few other stuffs) between devices. But note
that Opera has closed some of its services in the past.

=head1 OPTIONS

 TODO

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/App-adr2org>.

lib/App/adr2org.pm  view on Meta::CPAN

], sub { $a cmp $b });

our %SPEC;

$SPEC{adr2org} = {
    v => 1.1,
    summary => 'Convert Opera bookmarks (bookmarks.adr) to Org document',
    description => <<'_',

I want to keep my Opera browser bookmarks file (`~/.opera/bookmarks.adr`) under
git repository, so I can synchronize them between computers. There are a few
annoyances though: 1) When Opera saves bookmarks file, it remove symlinks, so
after I have to re-symlink the file to my git repo; 2) The ID field changes
sporadically, creating unnecessarily large diff and merge conflicts.

This program (and its counterpart `convert-org-to-opera-bookmarks`) is an
alternative to keeping Opera bookmarks file under git. You convert to .org file,
put the .org file under git, and convert back to .adr. The advantage is that the
ID field is removed so the diff is smaller and conflict reduced. Also, you can
more conveniently edit using Emacs/other Org editor.

Another alternative to this program is to use the Opera Link service from Opera
to synchronize your bookmarks (and a few other stuffs) between devices. But note
that Opera has closed some of its services in the past.

_
    args => {
        input => {
            summary => 'Opera addressbook file',
            schema => 'str*',
            cmdline_src => 'stdin_or_files',
            pos => 0,
            req => 1,

lib/App/adr2org.pm  view on Meta::CPAN

 org2adr

=head1 FUNCTIONS


=head2 adr2org(%args) -> [status, msg, result, meta]

Convert Opera bookmarks (bookmarks.adr) to Org document.

I want to keep my Opera browser bookmarks file (C<~/.opera/bookmarks.adr>) under
git repository, so I can synchronize them between computers. There are a few
annoyances though: 1) When Opera saves bookmarks file, it remove symlinks, so
after I have to re-symlink the file to my git repo; 2) The ID field changes
sporadically, creating unnecessarily large diff and merge conflicts.

This program (and its counterpart C<convert-org-to-opera-bookmarks>) is an
alternative to keeping Opera bookmarks file under git. You convert to .org file,
put the .org file under git, and convert back to .adr. The advantage is that the
ID field is removed so the diff is smaller and conflict reduced. Also, you can
more conveniently edit using Emacs/other Org editor.

Another alternative to this program is to use the Opera Link service from Opera
to synchronize your bookmarks (and a few other stuffs) between devices. But note
that Opera has closed some of its services in the past.

Arguments ('*' denotes required arguments):

=over 4

=item * B<exclude_trash> => I<bool>

=item * B<input>* => I<str>



( run in 0.287 second using v1.01-cache-2.11-cpan-0d8aa00de5b )