Wordpress - Mass Post Edit
Hi there, and thanks for clicking my thread
I have a problem I cant work out what the best way to resolve it would be.
I basically want to mass edit all wordpress posts on my blog (6,801)
They are all youtube videos so they look kind of look like this:
I want to pull that youtube url then replace it all with this code
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/c5CcWoSzYj4?fs=1
" /><param name="allowFullScreen" value="true" /> <embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/c5CcWoSzYj4?fs=1&rel=0" allowfullscreen="true"></embed></object>
<div id='mediaspace'>This text will be replaced</div>
Would this be possible? I have basic php/html knowledge but from what i understand i need.
Some sort of script to read the url inside the <object> tag then replace it all with the new jwplayer code (looks so much better)
Thanks for reading, any thought towards this is much appreciated.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)