1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 How can I retrieve tagged data?

Discussion in 'XenForo Questions and Support' started by rhodes, Jun 22, 2014.

  1. rhodes

    rhodes Active Member

    Hello,

    I would like to retrieve posts with a certain tag and use this information in another application.

    Let's say the tag is "Jeffery Deaver", then I could retrieve data through this link:

    http://mydomain.com/community/tags/jeffery+deaver/

    or via search

    http://mydomain.com/community/search/18581/?q=Jeffery+Deaver

    Of course in both cases the result is a complete page. How can I only get the corresponding posts?

    Do I have to use the API or is there an RSS feed available?

    Thank you for your help.

    regards, rhodes
     
  2. Liam W

    Liam W Well-Known Member

    You would have to ask the author of the tags addon you're using.
     
  3. rhodes

    rhodes Active Member

    Ok, but what about the second case? search is xf core.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Search will return results from any indexed post content.
     
  5. rhodes

    rhodes Active Member

    OK, but search would return a complete html page with header, logo etc. What I need is the raw data of the search result. Any ideas if I can do this?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I'm not sure what it is you're trying to do.
     
  7. rhodes

    rhodes Active Member

    I have another website (no XF) and I want to add a html block (block 1) to one of the sidebars.

    block 1 contains 10 text links.
    • My first text link to an xf post tagged with "Jefferey Deaver"
    • My second text link to an xf post tagged with "Jefferey Deaver"
    • ...My 10th text link to an xf post tagged with "Jefferey Deaver"
    the linked text should be the xf post title. The question is how I can retrieve this data from XF.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    It will require custom development.
     
  9. rhodes

    rhodes Active Member

    Thank you, @Brogan , I was afraid of that
     

Share This Page