View Single Post
Old 03-04-2013, 03:11 PM   #1
KeenH
Junior Member
KeenH began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2013
Device: Kindle Keyboard, DX, Paperwhite
Request: Wordpress Universal Downloader

I loved the Blogspot Universal Downloader. I wonder if anyone would be willing to make one for Wordpress? Being a newbie to python I am stuck on the def parse_index.

The relevant html code is:

</li><li id="archives-2" class="widgetcontainer widget_archive"><h3 class="widgettitle">Archives</h3>
<select name="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'>
<option value="">Select Month</option>
<option value='http://www.random.com/2013/03/'> March 2013 </option>
<option value='http://www.random.com/2013/02/'> February 2013 </option>

There are lots of examples of how to get parse_index to find feeds with <a href= ...> tags but as you can see Wordpress Archive lists have <option value= ...> tags. And I am not smart enough to figure it out.

Any help on a "def parse_index" would be appreciated. Or if someone would care to do the whole recipe, I think a Wordpress Universal Downloader would be a helpful addition to the recipes here. I would love pouring over that script and adapting it.

Thanks
KeenH is offline   Reply With Quote