marty.net message board
    About cpshop >> Customization Help >> Message started by: YouGotThat on 07/27/13 at 11:57:47

Title: Can someone post an example of how to replace...
Post by: YouGotThat on 07/13/13 at 12:25:09
Can someone post an example of how to replace part of an HTML string using the images.cgi file, please?

Specficially I would like to replace the string

<meta property="og:url" content="http://www.cafepress.com/

I tried a search and did find an example of removing, but I'm not sure how to modify that into a replace.

Thank you


Title: Re: Can someone post an example of how to replace.
Post by: oph3lia on 07/13/13 at 16:41:03
Original string goes in the middle, new string goes on the right. Here's an example line from my cgi.images, it replaces width="240" with width="350"

*||||width="240"||||width="350"

(edit-- apparently I don't know my right from my left, lol. I meant to say the new string goes on the right.)


Title: Re: Can someone post an example of how to replace.
Post by: YouGotThat on 07/27/13 at 11:57:47
Thank you!



marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright 2000-2001, X-Null. All Rights Reserved.