marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
Can someone post an example of how to replace...

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Can someone post an example of how to replace... »
Welcome, Guest. Please Login or Register.
12/15/17 at 06:07:04
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Can someone post an example of how to replace...
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Can someone post an example of how to replace...  (Read 603 times)
YouGotThat
Green Dragon
*

Posts: 8



Go Scots!
   

Can someone post an example of how to replace...
« on: 07/13/13 at 12:25:09 »
Reply with quote Modify message

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
« Last Edit: 07/13/13 at 12:25:43 by YouGotThat » Logged
oph3lia
Gold Dragon
****

Posts: 58



Go Scots!
   

E-Mail
Re: Can someone post an example of how to replace.
« Reply #1 on: 07/13/13 at 16:41:03 »
Reply with quote Modify message

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.)
« Last Edit: 07/13/13 at 17:31:28 by oph3lia » Logged
YouGotThat
Green Dragon
*

Posts: 8



Go Scots!
   

Re: Can someone post an example of how to replace.
« Reply #2 on: 07/27/13 at 11:57:47 »
Reply with quote Modify message

Thank you!
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


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.