![]() | | ||||||||
| | #1 |
| Advanced Warrior War Room Member Join Date: Feb 2007 Location: NJ, USA
Posts: 637
Blog Entries: 1 Thanks: 74
Thanked 16 Times in 14 Posts
|
What is the best method to extract the titles of all the posts on a wordpress blog? Is this even possible? Thanks Sam |
| | |
| | |
| | #2 | |
| SEO Strategist War Room Member Join Date: Jun 2010
Posts: 6,532
Thanks: 355
Thanked 1,992 Times in 1,273 Posts
| Quote:
PHP Code: | |
| | ||
| | |
| | #3 |
| SEO Strategist War Room Member Join Date: Jun 2010
Posts: 6,532
Thanks: 355
Thanked 1,992 Times in 1,273 Posts
|
This 2nd code snippet will return all the Wordpress Post Titles (same as above), & also include a clickable hyperlink for each individual Post. PHP Code: |
| | |
| | |
| | #5 |
| SEO Strategist War Room Member Join Date: Jun 2010
Posts: 6,532
Thanks: 355
Thanked 1,992 Times in 1,273 Posts
| |
| | |
| | |
| | #7 |
| SEO Strategist War Room Member Join Date: Jun 2010
Posts: 6,532
Thanks: 355
Thanked 1,992 Times in 1,273 Posts
|
Scraping html from external sites is more involved than the small code snippets above. This link here might help? I havn't tried the tutorial in the link, still it looks like like it might work. If you don't have a lot of URLs/Titles, you could always hard code them. You would have to keep the list updated manually. |
| | |
| | |
![]() |
|
| Tags |
| extract, titles, wordpress |
| Thread Tools | |
| |
![]() |