Forums

Search API for WordPress, from Python etc... (2 posts)

  1. drozzy
    Member
    Posted 3 years ago #

    Greetings,
    I am new to wordpress and the task I am facing is querying our current company blog which is in wordpress, for a search term and displaying results on the website.

    I was wandering if wordpress provides some kind of API through which I can call search and get a set of results (like in XML).

    I will be calling this from python/django if that is of any relevance.

    Please help as I never done PHP and I am scared!

  2. UseShots
    Member
    Posted 3 years ago #

    Hi,

    As far as I know, there is not Search API for WordPress. But since it's your company blog, there shouldn't be any problem to screenscrape the search results.

    Just use something like BeautifulSoup to parse the HTML. This shouldn't be difficult.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.