[geeklog-devel] new auto tags in gl2.1

Wim Niemans niemans at nlbox.com
Mon May 26 17:14:55 EDT 2014


Two new auto tags are introduced: related_items and related_topics.

The related_topics auto tag is processed by the story/topic, but the processing of related_items auto tag  gives plugin a change to to add content.
However it is not clear where this content is inserted, and it is also not very clear what the interface is. 
It seems that the glTypes, like article, link, etc, are not handed to the plugins at all. 
The syntax [related_items:id type:plugin max:max_items_listed trim:max_length include:plugin] is confusing. F.i. what is  ‘plugin’ (2x) ? And what is ‘id’ referring to?
Than the auto-tag must be inserted in the story text, but will not display there?

Both auto tags could be very useful for plugins and need some clear documentation.
Whenever these auto tags make it into a proper plugin call, it would be wise to include the (calling) id and title in the interface since these fields should be enough to generate related_links.

Thoughts?

Wim




More information about the geeklog-devel mailing list