Elxis CMS Forum

Extensions => Bots and plugins => Topic started by: Coursar on November 26, 2008, 01:19:21

Title: RokIntenseDebate bot
Post by: Coursar on November 26, 2008, 01:19:21
Hi to all. I'm adapting rokintensedebate bot from rocketwerx to Elxis. It use http://www.intensedebate.com service to add comments in content articles.

It uses alias (seotitle in Elxis) as postid variable. In Elxis we can use content item seotitle the same as autonomous page seotitle. How can i get full seo-url (include section seotitle and category seotitle) in mambot?

Thanks ))
Title: Re: RokIntenseDebate bot
Post by: datahell on November 26, 2008, 08:19:02
function sefRelToAbs will convert a normal link to a SEO PRO one.

example:
sefRelToAbs('index.php?option=com_content&task=view&id=xx&Itemid=YY');

In Elxis the sefRelToAbs has an optional second input with the SEO PRO link pre-made in order to speed-up SEO PRO links generation.

example:
sefRelToAbs('index.php?option=com_content&task=view&id=xx&Itemid=YY', 'section/category/article.html');

You can see the existing bots on which queries we used for retriving needed info.

seotitle and alias are not the same. alias does not exist any more in Elxis, it is an alternative title. seotitle is the item's title converted to a form that is suitable to be entered in the URL, this is called "seotitle".