The SEO and Knowledge Base Export API that is offered as part of the Nanorep package is an interesting little API which “pushes” question and answer information from the Nanorep knowledge base into the page source. This means that the information becomes visible to search engine bots, resulting in more traffic being driven to the website, and users being able to ask questions via Google, or any other search engine, and being directed straight to your website – without using the Nanorep widget.
The URL format is:
Here is an example of how your script may look like:
Your Nanorep login name. You must have knowledge base access privileges in order to use the API (required)
Your Nanorep password (required)
The knowledge base to export from (required)
How many items to fetch
The place in the list from which to start fetching. eg. use skip=10 to start fetching the list from the 11th item
If you use true (recommended), the most popular articles will show up first in the search results.
Note: offline articles won't be included if the parameter is set to true
Use to show the most popular answers given by the Nanorep widget during the last x days. This parameter only works with byPopularity=true
Use to show answers from a specific label only. You can find this information in the Nanorep console when editing a label.
Use to show answers that contain a certain word or phrase.
Use to show answers that have the specified context. Usage format: category:value. You may use more than one category/value pairs by separating the pairs with commas, eg: Manufacturer:Sony, Device:iPhone **
If used, only articles modified since this date are included.
Include Hidden FAQ items. i.e. article marked as "hide this answer from the dynamic FAQ widget"
Full export with stripped body:
Articles with the word 'iPhone' in them:
XML Response example
<?xml version="1.0" encoding="utf-8"?>
<NanorepExport account='Nanorep' kb='633763325358580000'>
<article id='633915887117827492' isOffline='False'>
<![CDATA[How much does it cost?]]>
<![CDATA[<p>For detailed packages & pricing information, <a href="http://www.Nanorep.com/index.php?page=prices" target="_blank">click here</a></p>]]></body>
<article id='633915887117827588' isOffline='False'>
<context id='Page Type' value='General' />
<![CDATA[What is Nanorep?]]>
<![CDATA[<p>Nanorep is a self-service customer support & service solution. It is designed to improve customer engagement and prevent website or cart abandonment by delivering instant, accurate answers to customers' questions with no waiting queues what so ever.<br /> <br /></p>]]></body>
<article id='141286' isOffline='False'>
<![CDATA[What happens when I exceed the number of questions in a given month?]]>
<![CDATA[<p>We understand that due to seasonal changes, promotions or campaigns, there can be spikes in the Q&A’s traffic.</p><p>In these cases, it won't be necessary to upgrade to a premium package.</p><p>However, in cases where there is a consistent increase in Nanorep's usage for more than a month, a notification on the outgrown support package will be sent to the customer and an upgrade plan will be offered.</p>]]></body>
<meta skipped='0' exported='3' totalArticles='3'/>