Hi Tomek,

thank you for your feedback and for linking to the plugin.

I updated the plugin.

# V0.55: Added wildcard into filter, so <*> or (*) can be filtered out including text within brackets.
Also something like *@ or @* works.
Regards,
Murat



------ Originalnachricht ------
Von: "Tomasz Muras" <nexor1...@gmail.com>
An: "Murat G" <mur...@online.de>
Cc: "zim-wiki@lists.launchpad.net" <zim-wiki@lists.launchpad.net>
Gesendet: 09.08.2015 22:38:50
Betreff: Re: [Zim-wiki] New Plugin: Text2Tag

Hi Murat,

Thanks for sharing, I think it will be useful for me for the very same thing. I've linked to your plugin from https://github.com/jaap-karssenberg/zim-wiki/wiki/Plugins .

cheers,
Tomek

On 9 August 2015 at 13:39, Murat G <mur...@online.de> wrote:
Hi,

just released the plugin. You can find it here:
https://github.com/jaap-karssenberg/zim-wiki/wiki/Text2Tags-plugin

Direct link:
https://bugs.launchpad.net/zim/+bug/1482984/+attachment/4441718/+files/Text2Tags.py

Regards,
Murat



______

Dear all,



I’m about to release a new plugin which helps formatting text to tags.



The idea to this plugin was born out of the need that whenever I have a meeting with a large number

of participants, it was quite an effort to add all participants as tags (people tag) into my meeting notes,

even by using my auto completion plugin ;)



Usually, I open the MS Outlook invitation, switch to scheduling assistant and then copy the list of all attendees into the zim page.



Then I get such a list:

Güven, Ugur Murat;Doe, John;Doe, Jane; and many more;



As my people tags have this pattern @LastnameFirstname I was able to do a quick hack by using the linesorting plugin

(thanks to Norfcran for the plugin), which worked quite ok.



As you can see, even my full name does not fit into that pattern, as I have a middle name ;). In addition, some entries had additional information

in brackets next to the name -> Doe, John (Whatever).



Then I thought: ‘What if others have other data, where the delimiter is not semicolon?’



Long story short:



·         You are able to select the delimiter

·         Set the source and the destination pattern

·         Set filters to remove anything from the tags

· compare the data with existing tags and select similar instead



The current implementation allows this:



Source pattern: %Ln%, %Fn%, %Mn% (-> free to use any delimiter, free to use any text in between %%, pattern needs to reflect the source data’s pattern)

Target pattern: %Ln%%Fn% (-> free to use order, free to use any delimiter which Zim allows, text used between %% needs to be the same as in source pattern)



As I’m in the final stage, I’d like to know what the pattern of your tags look like?

Will this implementation fit to your pattern of tags?



Regards,

Murat












_______________________________________________
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

_______________________________________________
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