Support for more ontology foo in beagle xesam adaptor
"Anders Rune Jensen" <[email protected]>
| Newsgroups | gmane.comp.gnome.dashboard.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi See attached trivial patch. Small question, why are there two different page-count fields? Couldn't they just be one like it is done in tracker. And what about pdf's, does beagle support extracting the page-count from that? Thanks. -- Anders Rune Jensen http://people.iola.dk/anders/ _______________________________________________ Dashboard-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Ontology-patch.diff
(text/x-patch, 487 B)
Index: src/Ontologies.cs =================================================================== --- src/Ontologies.cs (revision 4300) +++ src/Ontologies.cs (working copy) @@ -51,6 +51,15 @@ case "dc:date": return "date"; + case "xesam:width": + return "fixme:width"; + + case "xesam:height": + return "fixme:height"; + + case "xesam:pageCount": + return "fixme:page-count"; + case "mime": goto case "xesam:mimeType"; case "xesam:mimeType":