I'm not a programmer, but manager several websites. I have a discussion forum for photographers and need to allow them to post their sales links from FineArtAmerica pages. For security reasons, forum members can't post full html code. Hence the existing FAA code needs to be converted to BBC Code for posting.
I've been working through this book and I can do the examples fine. But I'm having difficulty just isolating specific URLs to make strings that a PHP script can convert.
Basically I need to turn the first example code into the second:
//<a href=
'http://webaddress.html' size='20'><img src='webaddress2.html?id=5164335&width=250&height=166' alt='Photography Prints' title='Photography Prints' style='border: none;'</a>
http://webaddress.html][img alt=Photography Prints]http://webaddress2.html?id=5164335&width=250&height=166[/img]
with the second being inside a url tag.
I'm finishing Chapter 5 and trying to experiment, but so far can't isolate the urls. Any suggestions would be appreciated.
- Greg