On Mon, Mar 18, 2013 at 11:37 PM, NorfCran <norfc...@gmail.com> wrote:
> I have a proposal to enrich ZIM with a possibility to attach geographical
> locations in form of tags. For instance any page could contain one or many
> tags "@geoloc:50.1859600N, 16.5099800E". These tags should be filtered out
> from notebook and processed by a plugin. I am willing to work on the plugin
> with some help in form of hints. The output could be a KML file, which shows
> all @geoloc tags from the notebook on a digital map for instance in
> GoogleEarth. The pin defined in KML file would contain information about a
> namespace to the page. Thank you for any feedback and suggestions.

I think it can be a nice feature if you want to store data that is
geographically linked.

Technical remark from my side is that I'm not sure it should be a tag.
Rather have it as a separate object (e.g. encoded as: "{{geoloc:
50.1859600N, 16.5099800E}}" ) and have the plugin take care how that
object is rendered.

Doing that the right way you will need code from the "pyzim-next"
branch, which unfortunately I still have not had time to commit :(

But first version could just leave the raw syntax in the page and
index it when generating the KML file.

Regards,

Jaap

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to