keyword assignment using render tags or rql

89 views
Skip to first unread message

Ibrahim Sawadogo

unread,
Jun 30, 2011, 10:01:26 AM6/30/11
to reddot-c...@googlegroups.com
Hi All,

i have quite lazy content creators and i would like to us render tags or rql to automatically add a keyword to a page since they do often forget to add it.
Is there a way to do that?
Am using reddot 10.1

Thanks,
Ibrahim

Tony Gayter

unread,
Jun 30, 2011, 10:09:18 AM6/30/11
to reddot-c...@googlegroups.com
If its just for a content class you can preassign keywords by selecting the class and its in teh action menu. Or are you wanting it to apply to multiple content class types but only if they are under a specific section?

Ibrahim Sawadogo

unread,
Jun 30, 2011, 10:25:44 AM6/30/11
to reddot-c...@googlegroups.com
Hi,

thanks for your answer but this does not solve my problem. this is meant to sort out pages by a sort of category set within the page.
Any ideas?

Thanks,
Ibrahim

On 30 June 2011 16:09, Tony Gayter <tonyg...@gmail.com> wrote:
If its just for a content class you can preassign keywords by selecting the class and its in teh action menu. Or are you wanting it to apply to multiple content class types but only if they are under a specific section?

--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/aC8Zv9dbK_AJ.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.

Message has been deleted

Jian Huang

unread,
Jun 30, 2011, 11:49:55 AM6/30/11
to RedDot CMS Users
Hi Ibrahim, Neil,

It appears to be a problem that might be solved better with more user
training/enforcement.

If you are looking for a technical solution, RQL is the way to go.

However, please keep in mind that preexecute or RDExecute RQL within a
project is consider not best practice.

If needed, please consider using AJAX RQL within a project.

Best regards,

-Jian

On Jun 30, 11:15 am, Neil <n.feg...@gmail.com> wrote:
> Hi Ibrahim
>
> If you want to assign a keyword based on some user choice then the following
> RQL snippet should work (based on choosing 'feature' from an option list:
>
> <%
> if "<%opt_newsType%>" = "feature" then
>   xmlData = "<IODATA loginguid=""" & LoginGUID & """ sessionkey=""" &
> SessionKey & """>" & _
>             "<PROJECT sessionkey=""" & SessionKey & """>" & _
>             "<PAGE guid = """ & PageGUID & """ action=""assign"">" & _
>             "<KEYWORDS>" & _
>             "<KEYWORD guid=""12345678123456781234567812345678""
> changed=""1"" />" & _
>             "</KEYWORDS>" & _
>             "</PAGE>" & _
>             "</PROJECT>" & _
>             "</IODATA>"      
>   xmlData = objIO.ServerExecuteXml(xmlData,sError)
>   if sError>"" then Response.write "An error has occured:<br />" & sError &
> "<br /><br />" End if
>   Call XMLDomPage.LoadXML(xmlData)
> end if
> %>
>
> You will need to know the GUID for the keyword you wish to add.
>
> Cheers
>
> Neil

Ibrahim Sawadogo

unread,
Jun 30, 2011, 12:02:40 PM6/30/11
to reddot-c...@googlegroups.com
Hi Jian

thanks for your input. i have been managing 4 reddot servers for the past 3 years and i have never heard of AJAX RQL.
I know ajax and RQL as separate things.
Can you set an example in here please?

Thanks,
Ibrahim

--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.

Ibrahim Sawadogo

unread,
Jun 30, 2011, 12:45:08 PM6/30/11
to reddot-c...@googlegroups.com
Hi,

out of curiosity i did a lil' search on AJAX RQL (for those of you interested too you can find it here: https://manuelschnitger.wordpress.com/2011/02/17/rql-in-a-nutshell-part-iii/)

Thanks,
Ibrahim

kimdezen

unread,
Jul 4, 2011, 1:43:36 AM7/4/11
to RedDot CMS Users
Ibrahim

Just to clarify, AJAX is the just method used to send RQL commands to
be executed against the project via the COM objects. The other
alternatives are to execute RQL commands within templates or
connecting through to the web servers - however as Jian mentioned,
these arent 'best practise' for performance reasons. There is no
difference in RQL structure against all methods..

Kim

On Jul 1, 2:02 am, Ibrahim Sawadogo <ichib...@googlemail.com> wrote:
> Hi Jian
>
> thanks for your input. i have been managing 4 reddot servers for the past 3
> years and i have never heard of AJAX RQL.
> I know ajax and RQL as separate things.
> Can you set an example in here please?
>
> Thanks,
> Ibrahim
>
Reply all
Reply to author
Forward
0 new messages