Forum Discussion
Your best bet is probably going to be to use JavaScript (like the jquery that GrazittiI mentions in his reply). I believe the server-side logic to determine what to populate in the keywords element works like this:
1.) If board.keywords setting set at the board level, use that (you can set this in the admin by clicking on the board from the "community structure" tab, clicking "edit properties" and filling in the "keywords" field)
2.) Else if category.keywords setting set at the category level, use that (you can set this in the admin by clicking on the category from the "community structure" tab, clicking "edit properties" and filling in the "keywords" field)
3.) Else if community.keywords setting set at the community level, use that (you can set this in the admin but clicking on the community from the "community structure" tab, clicking "edit properties" and filling in the "community keywords" field)
4.) Else use tags (if this is a message or thread page)
5.) Else use tags (by walking up the node chain)
-Doug
Doug,
Thanks for your time and the detailed response you provided.
I looked into a random topic on our site and have provided my findings below. I noticed that 4 of the words (error, hatch, pdf, Spaces, window) don't appear on the page at all yet are included in the meta data keywords.
Also, ACA an acronym for AutoCAD Architecture appears under the reccomendations component but does not appear in the topic. This leads me to believe that a) the meta keywords for the page are being influenced by the components on the right or b) there is inteligant logic in Lithium core that has dtermined that ACA is an acronym for AutoCAD Architecture.
1.) 0 keywords
2.) 0 keywords
3.) 0 keywords
4.) 0 tags
5.) ?
The topic I used was http://forums.autodesk.com/t5/AutoCAD-Architecture-General/How-to-do-Publishing-in-2014/m-p/512166. Attached are the screenshots from the Community, Category and Board properties.
Structural Location: Autodesk Community > AutoCAD Architecture > AutoCAD Architecture General > How to do Publishing in 2014
Meta Data: <metaname="keywords"content="2012, ACA, architecture, autocad, Autocad Architecture, error, hatch, pdf, Spaces, window”/>
Could you explain what you mean by "walking up the node structure?"
Would it be possible to access the recommendations commponent links via the API? If we sent the API a topic ID could we get recieve five related IDs?
- DougS11 years agoKhoros Oracle
Hi mpotterf ,
What I meant by "walking up the node structure" is that it will look first to the board that the topic is in and if it finds any tags at that level it will use them, otherwise it will look at the category the board is in and if it finds any tags at that level it will use them, etc.
What you are most likely seeing is tags from the board or category that that message you are viewing is in (if the message doesn't already have tags).
There is no direct recommendations API, but you could build something similar using the message search call.
-Doug
Related Content
- 7 years ago
- 9 years ago
- 5 months ago