Bookmark files mime types



(I already sent this to gnome-vfs ximian com two weeks ago, but it has
been ignored)

        Can I commit this patch to gnome-mime-data? It adds the mime
types of Galeon XBEL bookmarks files and netscape/mozilla bookmarks
files. I need it for opening those file in galeon (easily).

        The patch is probably wrong, because I know nearly nothing about
mime. Specially, I don't know if the mime type names are correct.

Thanks,
Ricardo

-- 
Ricardo Fernández Pascual
ric users sourceforge net
Murcia. España.
? mime-bm.diff
? mime-bm.diff.seg
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-mime-data/ChangeLog,v
retrieving revision 1.69
diff -u -r1.69 ChangeLog
--- ChangeLog	24 May 2002 10:36:22 -0000	1.69
+++ ChangeLog	28 May 2002 14:33:28 -0000
@@ -1,3 +1,10 @@
+2002-05-28  Ricardo Fernández Pascual  <ric users sourceforge net>
+
+	* gnome-vfs-mime-magic
+	* gnome-vfs.keys.in
+	* gnome-vfs.mime: Added entries for xbel, netscape and mozilla 
+	bookmarks formats.
+
 2002-05-24  Alex Graveley  <alex ximian com>
 
 	* gnome-vfs-mime-magic: Move audio/x-wav matchers above
Index: gnome-vfs-mime-magic
===================================================================
RCS file: /cvs/gnome/gnome-mime-data/gnome-vfs-mime-magic,v
retrieving revision 1.51
diff -u -r1.51 gnome-vfs-mime-magic
--- gnome-vfs-mime-magic	24 May 2002 10:36:22 -0000	1.51
+++ gnome-vfs-mime-magic	28 May 2002 14:33:28 -0000
@@ -100,6 +100,13 @@
 # xpm rule needs to go before text/x-c
 0	string		/*\ XPM\ */				image/x-xpixmap
 
+# xbel rules
+0:64	string		\<!DOCTYPE\ xbel			application/xbel
+0:192	string		\<xbel					application/xbel
+# mozilla/netscape bookmarks rules
+0:64	string		\<!DOCTYPE\ NETSCAPE-Bookmark-file-1\>	application/mozilla-bookmarks
+0:64	string		\<!DOCTYPE\ NETSCAPE-Bookmark-file-1\>	application/netscape-bookmarks
+
 # svg rules need to go before html
 0:256	string		\<!DOCTYPE\ svg				image/svg
 0:64	string		\<svg					image/svg
Index: gnome-vfs.keys.in
===================================================================
RCS file: /cvs/gnome/gnome-mime-data/gnome-vfs.keys.in,v
retrieving revision 1.52
diff -u -r1.52 gnome-vfs.keys.in
--- gnome-vfs.keys.in	20 May 2002 19:42:19 -0000	1.52
+++ gnome-vfs.keys.in	28 May 2002 14:33:31 -0000
@@ -19,6 +19,9 @@
 	compose=eh?ah.
 	copiousoutput=
 
+application/mozilla-bookmarks
+	_description=Mozilla bookmarks file
+
 application/msword
 	_description=Microsoft Word document
 	default_action_type=application
@@ -28,6 +31,9 @@
 	category=Documents/Word Processor
 	use_category_default=yes
 
+application/netscape-bookmarks
+	_description=Netscape bookmarks file
+
 application/octet-stream
 	can_be_executable=TRUE
 	_description=unknown type
@@ -825,6 +831,9 @@
 
 application/x-zoo
 	_description=zoo archive
+
+application/xbel
+	_description=XBEL bookmarks file
 
 application/zip
 	_description=zip archive
Index: gnome-vfs.mime
===================================================================
RCS file: /cvs/gnome/gnome-mime-data/gnome-vfs.mime,v
retrieving revision 1.40
diff -u -r1.40 gnome-vfs.mime
--- gnome-vfs.mime	24 May 2002 02:36:04 -0000	1.40
+++ gnome-vfs.mime	28 May 2002 14:33:32 -0000
@@ -347,6 +347,9 @@
 application/x-zoo
 	ext: zoo
 
+application/xbel
+	ext: xbel
+
 application/zip
 	ext: zip
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]