Generate a link list of all Zendesk articles in a specific forum

I needed to print out a list of links for all articles in a specific forum, for use in our Project management system. I had to go through all the items to ensure that they are compatible with the latest version of our Canvas Theme.

I’ve used chrome for this and suggest you do the same as I don’t know how to replicate this other browsers.

1) Navigate to the specific forum on the Zendesk agent panel. In this case canvas.

link lists for a specific zendesk forum

2) Scroll down to the bottom of the page and click more until all the items are displayed on the page:

zendesk_forum_link_lists_click_more

3) Then Open the chrome developers console and click on console:

zendesk_forum_link_lists developer_console

4) Past the code below inside the console and press enter ( be sure to change line:4  from  support.woothemes.com support your own domain):

[code language=”javascript”]
var count = 0;
jQuery(“#content_entries .frame .item”).each(function(index){
count++;
console.log(“http://support.woothemes.com”+jQuery(“.item-info h1 span a”, this).attr(“href”) );
});
console.log(count);
[/code]

5) You will now see a nice list of  items which you can copy as a todo list on your project management software. Trello allows you to paste this whole list and creates individual to do list items .

zendesk_forum_link_lists_nice_LIST

Published by

Dwain Maralack

Servant, Husband, Software Engineer and all round fun-loving guy, I work as a Developer at WooThemes.

Leave a Reply