File: README.html

package info (click to toggle)
bookmark-merge 0.9-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 104 kB
  • ctags: 11
  • sloc: perl: 510; makefile: 51
file content (120 lines) | stat: -rw-r--r-- 4,123 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<HTML>
<BODY>

<H1>merge README</H1>
<B>By: Jeremy Buchmann</B>

<P>merge is a Perl script that merges Netscape, Mozilla and
Internet Explorer bookmark files.  Note that only certain versions of IE
use bookmark files.</P>

<H2>Obtaining merge</H2>
merge is hosted on <A HREF="http://sourceforge.net">sourceforge.net</A>.
The Web page is <A HREF="http://merge.sourceforge.net">
http://merge.sourceforge.net</A>.

<H2>What merge Does</H2>
<UL>
 <LI>Merges Netscape 4.x, Mozilla/Netscape 6.x and IE bookmark
 files.</LI>
</UL>

<H2>What merge Doesn't Do Now, But May Do Later</H2>
<UL>
 <LI>Check links for validity.</LI>
 <LI>Merge Opera bookmarks.</LI>
 <LI>Sort links</LI>
 <LI>Remove duplicate links from different folders.</LI>
</UL>

<H2>Usage</H2>

> merge -m[NS,MO,IE] master-file -s[NS,MO,IE] slave-file

<P> Any combination of bookmark files is okay.  The output type will be
the same as the master type. Only URLs are compared; if they match, only
the master copy is kept. The directory structure is kept intact. The
resulting bookmarkfile is printed to stdout, so you'll want to redirect
it to a file.</P>

<P> For example:
<BR><BR>
> merge -mNS bookmarks.html -sIE Favorites.html > newbookmarks.html
<BR><BR>
would merge a master Netscape file called "bookmarks.html" with a slave
IE file called "Favorites.html" and write the merged file to 
"newbookmarks.html".</P>

<H2>Change Log</H2>
<H3>merge-0.9</H3>
<UL>
  <LI>Rewrote most of the internal structures, which means:
    <UL>
      <LI>Adding new types of bookmark files should be much easier.</LI>
      <LI>Link and folder meta-data is now mostly kept.</LI>
      <LI>Separators should now work.</LI>
      <LI>Crasher bugs related to huge bookmark files should go away.</LI>
    </UL>
  </LI>
  <LI>Crasher bug caused by lack of bookmark name is fixed.</LI>
</UL>
<H3>merge-0.3</H3>
<UL>
  <LI>IE bookmark files now work! (for those versions of IE that use bookmark
   files instead of a directory structure).
  <LI>Added the new command line stuff.</LI>
  <LI>Pipe symbols '|' are now turned into '!' before processing
   the bookmark file.</LI>
  <LI>The output spacing is a little more accurate (the browser doesn't
   really care, but I do :).</LI>
</UL>
<H3>merge-0.2</H3>
<UL>
 <LI>Got rid of some dumb parentheses in parseLinks().</LI>
 <LI>Added better URL comparing with the URL_equal() function.  This should
  fix bug #113467.  I don't think [http://foo.com] and 
  [http://foo.com/index.html] should be the same anymore...PHP and other
  dynamic stuff has changed this.  http://linuxtoday.com is a good example
  of this.</LI>
 <LI>printTree() now uses the current time for all the time-related stuff
  in the links.  This should take care of bug #113469.</LI>
</UL>
<H3>merge-0.1</H3>
<UL>
 <LI>First release</LI>
</UL>

<H2>Bugs/Issues</H2>
<UL>

 <LI>[http://foo.com] will not match [http://foo.com/index.html] in any
 cases.  This isn't a bug.</LI>

 <LI>merge may not preserve all attributes of a bookmark (like subscriptions
 or other really advanced stuff), but simple things like dates should be
 kept.</LI>

 <LI>merge is written in Perl, so you have to have a Perl interpreter.
 Perl is standard on most if not all UNIX-like operating systems,
 and there are Windows and Mac ports as well. </LI>

 <LI>On a related note, perl is expected to be in /usr/bin. You must change 
 this if it is not there. Just set the first line of merge to your path 
 to perl, or just run merge as an argument to the Perl interpreter.  For
 the latter case, the command line would be:<BR>
 > perl merge -m[NS,IE] master-bookmarks.html -s[NS,IE] slave-bookmarks.html
 </LI>
</UL>

<H2>License</H2>
<P>merge uses the GPL.  Please see the License.txt file that should have
come with this package or:
<A HREF="http://www.gnu.org/copyleft/gpl.html">
http://www.gnu.org/copyleft/gpl.html</A> for a copy of the license.</P>

<H2>Feedback</H2>
<P>Feedback should be sent to <A HREF="mailto:buchmann@cs.unr.edu">
buchmann@cs.unr.edu</A>. I am mostly interested in bugs/platform issues,
but any improvements or new features will be welcomed.</P>
</BODY>
</HTML>