03-04-2013, 03:11 PM | #1 |
Junior Member
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 |
03-04-2013, 06:26 PM | #2 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2013
Device: Kindle Keyboard, DX, Paperwhite
|
I should maybe clarify one thing. Wordpress blogs have a widget in a drop down menu in the right side pane called "Archives." The drop down list contains Links to monthly html pages with article lists + summaries. The html code cited above is the relevant part of that drop down list. I assume we want to start with something like soup.find('li', attrs={'id':'archives-2'}). But I am frankly lost.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Wordpress | frescogamba | Plugins | 11 | 04-06-2015 09:09 PM |
WordPress help | Harper Kingsley | Writers' Corner | 3 | 02-08-2013 10:05 PM |
Recipe for Wordpress | ventures | Recipes | 0 | 05-24-2011 09:10 PM |
jetBook Plugin for Wordpress | Andrasz | Ectaco jetBook | 0 | 04-02-2010 03:48 AM |
Wordpress Vs Textpattern | Moejoe | Lounge | 4 | 03-06-2009 11:46 AM |