d4ng
8 years agoGuide
Where can I find m-p param?
Hi I need to know where I can find in LiQL param "m-p"? ("view_href" : "/t5/Na-karte/testowanie-ograniczenia-znakow/m-p/1884#M12",) because I won't display all post with this param (m-p)
VarunGrazitti Do you know how to differentiate posts in such categories:
1. Posts - standard user posts - in url we have m-p or td-p
2. Posts with accepted solutions - in url we have m-p
3. Articles from knowledge base - in url we have tkb or ta-p
Where I can find m-p, td-p, ta-p parameters? Maybe there is another way?
I need to create XML for search engine where user will choose in which category he want to search. That is why I need to create "filters" or "categories"
omygoodness - A td-p is a thread whereas an m-p is a message. A thread is also a message but a message is not a thread. A bit confusing but what it means is:
e.g. This td-p, note the ID
https://community.lithium.com/t5/Developers-Discussion/RESTAPI-v2-Url/td-p/212565
and this m-p will both work.
https://community.lithium.com/t5/Developers-Discussion/RESTAPI-v2-Url/m-p/212565
But this one, will redirect to m-p if you try (it is a reply in a post)
https://community.lithium.com/t5/Developers-Discussion/RESTAPI-v2-Url/td-p/212579
Also, a td-p is the original post, not a reply.
Similarly, Lithium has different structure for all content types:
e.g.
TKB articles: ta-p
Blog articles: bg-p
You can find some references here and also, use the interaction styles after finding the parent of the current post could help.