[Tiki-devel] Hotwords (RE: Automatic link inside text if words = tracker items title)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Tiki-devel] Hotwords (RE: Automatic link inside text if words = tracker items title)

Cloutier, Philippe (RESSOURCE EXTERNE)

Hi Bernard,

I may misunderstand your question, but I don’t think hotwords would help. Hotwords can automatically link a certain text to a certain URL indeed, but each string needs to be added manually (unless you modify the code to automatically cerate hotwords).

 

Philippe Cloutier
Développeur/configurateur Tiki

Service des systèmes d’information du Registre foncier

Direction des systèmes d’information

Direction générale du soutien aux opérations

Ministère de l'Énergie et des Ressources naturelles

Québec (Québec)  G1H 6R1

Téléphone : 418 627-6282, poste 2209

philippe.cloutier.externe@...
mern.gouv.qc.ca

 

De : Bernard Sfez [mailto:[hidden email]]
Envoyé : 10 avril 2017 02:23
À : Tiki developers <[hidden email]>
Objet : [Tiki-devel] Automatic link inside text if words = tracker items title

 

Hello,

 

On a Tiki16x that will store information on page and trackers;

 

In the text if words = tracker item title then it should turn into a link for this item.

ie: I have a tracker item with title = "Bug Bunny". When text is entered as below it should automatically turn into a link to the tracker item.

 

Carrots are eaten by rabbits. Bug bunny eat a lot of carrots.

 

1/ The hotwords way;

 

I recall we have Tiki Hotwords, but the doc look to me very poor (I think Hotword can do more than that) : https://doc.tiki.org/Hotwords

May be someone can share knowledge here ? (I’ll update the doc)

———

 

2/ The variable way using plugin List

 

Would it be possible to grab the string as a variable (or object name) ? (even manually to start with)

 

Then to turn it into a link that would go to a page set with a template with a pluginList;

 

{filter field="tracker_field_titler_text" exact="{{grabbed_text in the url}}"}

 

Thanks!

 

Bernard Sfez | bsfez.com

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tiki-devel] Hotwords (RE: Automatic link inside text if words = tracker items title)

Bernard Sfez-3
Hi Philippe,

You did not, I was very sure about Hotwords (oh my when did I used them, Tiki 1.6.4 ?) and the doc is not very explicit. I secretly hoped it improved. :)

Does anyone has an idea for some kind of pretty link system that would automatically change text into link if it = a tracker item title ?

ie: I have a tracker item with title = "Bug Bunny". When text that match the title is saved it should automatically turn into a link to the tracker item.
 
Carrots are eaten by rabbits. Bug Bunny eat a lot of carrots.



On 11 Apr 2017, at 18:33 , Cloutier, Philippe (RESSOURCE EXTERNE) <[hidden email]> wrote:

Hi Bernard,
I may misunderstand your question, but I don’t think hotwords would help. Hotwords can automatically link a certain text to a certain URL indeed, but each string needs to be added manually (unless you modify the code to automatically cerate hotwords).
 
Philippe Cloutier
Développeur/configurateur Tiki
Service des systèmes d’information du Registre foncier
Direction des systèmes d’information
Direction générale du soutien aux opérations
Ministère de l'Énergie et des Ressources naturelles
Québec (Québec)  G1H 6R1
Téléphone : 418 627-6282, poste 2209
<a href="x-msg://2/philippe.cloutier.externe@mern.gouv.qc.ca" style="color: purple; text-decoration: underline;" class="">philippe.cloutier.externe@...
mern.gouv.qc.ca
 
De : Bernard Sfez [[hidden email]] 
Envoyé : 10 avril 2017 02:23
À : Tiki developers <[hidden email]>
Objet : [Tiki-devel] Automatic link inside text if words = tracker items title
 
Hello,
 
On a Tiki16x that will store information on page and trackers;
 
In the text if words = tracker item title then it should turn into a link for this item.
ie: I have a tracker item with title = "Bug Bunny". When text is entered as below it should automatically turn into a link to the tracker item.
 
Carrots are eaten by rabbits. Bug bunny eat a lot of carrots.
 
1/ The hotwords way;
 
I recall we have Tiki Hotwords, but the doc look to me very poor (I think Hotword can do more than that) : https://doc.tiki.org/Hotwords
May be someone can share knowledge here ? (I’ll update the doc)
———
 
2/ The variable way using plugin List
 
Would it be possible to grab the string as a variable (or object name) ? (even manually to start with)
 
Then to turn it into a link that would go to a page set with a template with a pluginList;
 
{filter field="tracker_field_titler_text" exact="{{grabbed_text in the url}}"}
 
Thanks!
 
Bernard Sfez | bsfez.com
 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Bernard Sfez | bsfez.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tiki-devel] Hotwords (RE: Automatic link inside text if words = tracker items title)

Jonny Bradley-4

Hi all

Coincidentally i had a conversation with a client who will want this at some point, i.e. if some wiki text patches a specific tracker title exactly then make it a link to the item, so devising a syntax for that to work would be a good idea (i don't think it does that at the moment).

Maybe it can be combined with the tracker prefix alias thing so we can define the link as well so it could link to person-42 instead of item42.

Maybe something as simple as %tracker_field_permananetName% => person-%itemId% would do the trick?

Any better idea?

Something for 17.1 maybe...

jonny





> On 12 Apr 2017, at 15:36, Bernard Sfez <[hidden email]> wrote:
>
> Hi Philippe,
>
> You did not, I was very sure about Hotwords (oh my when did I used them, Tiki 1.6.4 ?) and the doc is not very explicit. I secretly hoped it improved. :)
>
> Does anyone has an idea for some kind of pretty link system that would automatically change text into link if it = a tracker item title ?
>
> ie: I have a tracker item with title = "Bug Bunny". When text that match the title is saved it should automatically turn into a link to the tracker item.
>  
> Carrots are eaten by rabbits. Bug Bunny eat a lot of carrots.
>
>
>
>> On 11 Apr 2017, at 18:33 , Cloutier, Philippe (RESSOURCE EXTERNE) <[hidden email]> wrote:
>>
>> Hi Bernard,
>> I may misunderstand your question, but I don’t think hotwords would help. Hotwords can automatically link a certain text to a certain URL indeed, but each string needs to be added manually (unless you modify the code to automatically cerate hotwords).
>>  
>> Philippe Cloutier
>> Développeur/configurateur Tiki
>> Service des systèmes d’information du Registre foncier
>> Direction des systèmes d’information
>> Direction générale du soutien aux opérations
>> Ministère de l'Énergie et des Ressources naturelles
>> Québec (Québec)  G1H 6R1
>> Téléphone : 418 627-6282, poste 2209
>> [hidden email]
>> mern.gouv.qc.ca
>>  
>> De : Bernard Sfez [mailto:[hidden email]]
>> Envoyé : 10 avril 2017 02:23
>> À : Tiki developers <[hidden email]>
>> Objet : [Tiki-devel] Automatic link inside text if words = tracker items title
>>  
>> Hello,
>>  
>> On a Tiki16x that will store information on page and trackers;
>>  
>> In the text if words = tracker item title then it should turn into a link for this item.
>> ie: I have a tracker item with title = "Bug Bunny". When text is entered as below it should automatically turn into a link to the tracker item.
>>  
>> Carrots are eaten by rabbits. Bug bunny eat a lot of carrots.
>>  
>> 1/ The hotwords way;
>>  
>> I recall we have Tiki Hotwords, but the doc look to me very poor (I think Hotword can do more than that) : https://doc.tiki.org/Hotwords
>> May be someone can share knowledge here ? (I’ll update the doc)
>> ———
>>  
>> 2/ The variable way using plugin List
>>  
>> Would it be possible to grab the string as a variable (or object name) ? (even manually to start with)
>>  
>> Then to turn it into a link that would go to a page set with a template with a pluginList;
>>  
>> {filter field="tracker_field_titler_text" exact="{{grabbed_text in the url}}"}
>>  
>> Thanks!
>>  
>> Bernard Sfez | bsfez.com
>>  
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
>> TikiWiki-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
> Bernard Sfez | bsfez.com
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
> TikiWiki-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tiki-devel] Hotwords (RE: Automatic link inside text if words = tracker items title)

luciash d' being
What about option for the tracker field to add the hotword automatically?

luci


On 12.4.2017 18:06, Jonny Bradley wrote:

> Hi all
>
> Coincidentally i had a conversation with a client who will want this at some point, i.e. if some wiki text patches a specific tracker title exactly then make it a link to the item, so devising a syntax for that to work would be a good idea (i don't think it does that at the moment).
>
> Maybe it can be combined with the tracker prefix alias thing so we can define the link as well so it could link to person-42 instead of item42.
>
> Maybe something as simple as %tracker_field_permananetName% => person-%itemId% would do the trick?
>
> Any better idea?
>
> Something for 17.1 maybe...
>
> jonny
>
>
>
>
>
>> On 12 Apr 2017, at 15:36, Bernard Sfez <[hidden email]> wrote:
>>
>> Hi Philippe,
>>
>> You did not, I was very sure about Hotwords (oh my when did I used them, Tiki 1.6.4 ?) and the doc is not very explicit. I secretly hoped it improved. :)
>>
>> Does anyone has an idea for some kind of pretty link system that would automatically change text into link if it = a tracker item title ?
>>
>> ie: I have a tracker item with title = "Bug Bunny". When text that match the title is saved it should automatically turn into a link to the tracker item.
>>  
>> Carrots are eaten by rabbits. Bug Bunny eat a lot of carrots.
>>
>>
>>
>>> On 11 Apr 2017, at 18:33 , Cloutier, Philippe (RESSOURCE EXTERNE) <[hidden email]> wrote:
>>>
>>> Hi Bernard,
>>> I may misunderstand your question, but I don’t think hotwords would help. Hotwords can automatically link a certain text to a certain URL indeed, but each string needs to be added manually (unless you modify the code to automatically cerate hotwords).
>>>  
>>> Philippe Cloutier
>>> Développeur/configurateur Tiki
>>> Service des systèmes d’information du Registre foncier
>>> Direction des systèmes d’information
>>> Direction générale du soutien aux opérations
>>> Ministère de l'Énergie et des Ressources naturelles
>>> Québec (Québec)  G1H 6R1
>>> Téléphone : 418 627-6282, poste 2209
>>> [hidden email]
>>> mern.gouv.qc.ca
>>>  
>>> De : Bernard Sfez [mailto:[hidden email]]
>>> Envoyé : 10 avril 2017 02:23
>>> À : Tiki developers <[hidden email]>
>>> Objet : [Tiki-devel] Automatic link inside text if words = tracker items title
>>>  
>>> Hello,
>>>  
>>> On a Tiki16x that will store information on page and trackers;
>>>  
>>> In the text if words = tracker item title then it should turn into a link for this item.
>>> ie: I have a tracker item with title = "Bug Bunny". When text is entered as below it should automatically turn into a link to the tracker item.
>>>  
>>> Carrots are eaten by rabbits. Bug bunny eat a lot of carrots.
>>>  
>>> 1/ The hotwords way;
>>>  
>>> I recall we have Tiki Hotwords, but the doc look to me very poor (I think Hotword can do more than that) : https://doc.tiki.org/Hotwords
>>> May be someone can share knowledge here ? (I’ll update the doc)
>>> ———
>>>  
>>> 2/ The variable way using plugin List
>>>  
>>> Would it be possible to grab the string as a variable (or object name) ? (even manually to start with)
>>>  
>>> Then to turn it into a link that would go to a page set with a template with a pluginList;
>>>  
>>> {filter field="tracker_field_titler_text" exact="{{grabbed_text in the url}}"}
>>>  
>>> Thanks!
>>>  
>>> Bernard Sfez | bsfez.com
>>>  
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
>>> TikiWiki-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>> Bernard Sfez | bsfez.com
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
>> TikiWiki-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> TikiWiki-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tiki-devel] Hotwords (RE: Automatic link inside text if words = tracker items title)

Cloutier, Philippe (RESSOURCE EXTERNE)
I don't think hotwords are the way to go. If the tracker item is removed, a hotword would also have to be removed.


> -----Message d'origine-----
> De : luciash [mailto:[hidden email]]
> Envoyé : 13 avril 2017 06:15
> À : Tiki developers <[hidden email]>
> Objet : Re: [Tiki-devel] Hotwords (RE: Automatic link inside text if words = tracker items title)
>
> What about option for the tracker field to add the hotword automatically?
>
> luci
>
>
> On 12.4.2017 18:06, Jonny Bradley wrote:
> > Hi all
> >
> > Coincidentally i had a conversation with a client who will want this at some point, i.e. if some wiki
> text patches a specific tracker title exactly then make it a link to the item, so devising a syntax for that
> to work would be a good idea (i don't think it does that at the moment).
> >
> > Maybe it can be combined with the tracker prefix alias thing so we can define the link as well so it
> could link to person-42 instead of item42.
> >
> > Maybe something as simple as %tracker_field_permananetName% => person-%itemId% would do
> the trick?
> >
> > Any better idea?
> >
> > Something for 17.1 maybe...
> >
> > jonny
> >
> >
> >
> >
> >
> >> On 12 Apr 2017, at 15:36, Bernard Sfez <[hidden email]> wrote:
> >>
> >> Hi Philippe,
> >>
> >> You did not, I was very sure about Hotwords (oh my when did I used them, Tiki 1.6.4 ?) and the doc
> is not very explicit. I secretly hoped it improved. :)
> >>
> >> Does anyone has an idea for some kind of pretty link system that would automatically change text
> into link if it = a tracker item title ?
> >>
> >> ie: I have a tracker item with title = "Bug Bunny". When text that match the title is saved it should
> automatically turn into a link to the tracker item.
> >>
> >> Carrots are eaten by rabbits. Bug Bunny eat a lot of carrots.
> >>
> >>
> >>
> >>> On 11 Apr 2017, at 18:33 , Cloutier, Philippe (RESSOURCE EXTERNE)
> <[hidden email]> wrote:
> >>>
> >>> Hi Bernard,
> >>> I may misunderstand your question, but I don’t think hotwords would help. Hotwords can
> automatically link a certain text to a certain URL indeed, but each string needs to be added manually
> (unless you modify the code to automatically cerate hotwords).
> >>>
> >>> Philippe Cloutier
> >>> Développeur/configurateur Tiki
> >>> Service des systèmes d’information du Registre foncier
> >>> Direction des systèmes d’information
> >>> Direction générale du soutien aux opérations
> >>> Ministère de l'Énergie et des Ressources naturelles
> >>> Québec (Québec)  G1H 6R1
> >>> Téléphone : 418 627-6282, poste 2209
> >>> [hidden email]
> >>> mern.gouv.qc.ca
> >>>
> >>> De : Bernard Sfez [mailto:[hidden email]]
> >>> Envoyé : 10 avril 2017 02:23
> >>> À : Tiki developers <[hidden email]>
> >>> Objet : [Tiki-devel] Automatic link inside text if words = tracker items title
> >>>
> >>> Hello,
> >>>
> >>> On a Tiki16x that will store information on page and trackers;
> >>>
> >>> In the text if words = tracker item title then it should turn into a link for this item.
> >>> ie: I have a tracker item with title = "Bug Bunny". When text is entered as below it should
> automatically turn into a link to the tracker item.
> >>>
> >>> Carrots are eaten by rabbits. Bug bunny eat a lot of carrots.
> >>>
> >>> 1/ The hotwords way;
> >>>
> >>> I recall we have Tiki Hotwords, but the doc look to me very poor (I think Hotword can do more
> than that) : https://doc.tiki.org/Hotwords
> >>> May be someone can share knowledge here ? (I’ll update the doc)
> >>> ———
> >>>
> >>> 2/ The variable way using plugin List
> >>>
> >>> Would it be possible to grab the string as a variable (or object name) ? (even manually to start
> with)
> >>>
> >>> Then to turn it into a link that would go to a page set with a template with a pluginList;
> >>>
> >>> {filter field="tracker_field_titler_text" exact="{{grabbed_text in the url}}"}
> >>>
> >>> Thanks!
> >>>
> >>> Bernard Sfez | bsfez.com
> >>>
> >>> ------------------------------------------------------------------------------
> >>> Check out the vibrant tech community on one of the world's most
> >>> engaging tech sites, Slashdot.org!
> http://sdm.link/slashdot_______________________________________________
> >>> TikiWiki-devel mailing list
> >>> [hidden email]
> >>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> >> Bernard Sfez | bsfez.com
> >>
> >> ------------------------------------------------------------------------------
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org!
> http://sdm.link/slashdot_______________________________________________
> >> TikiWiki-devel mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > TikiWiki-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> TikiWiki-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Loading...