Would like to grab the header from here <title>Just Friends</title>
and insert the information into these locations
<meta property="og:title" content="$1"/>
data-a2a-title="$1">
Have tried some of the suggestions in this forum and elsewhere - nothing seems to work
I have changed .html to .txt
This is a trial version if that affects functionality. I'm happy to purchase if this will work
Would like to do this as a batch process since there are several thousand pages to be updated
Help please with find and replace
-
- Posts: 37
- Joined: Tue Mar 13, 2012 5:03 pm
Help please with find and replace
Last edited by drew on Sun Apr 23, 2017 5:25 am, edited 1 time in total.
- DigitalVolcano
- Site Admin
- Posts: 1866
- Joined: Thu Jun 09, 2011 10:04 am
Re: Help please with find and replace
Are you keeping the title tag or replacing it with the new lines?
I assume the two replace lines you list already exist in the file and you just want to change the $1 part? (This is quite tricky!)
I assume the two replace lines you list already exist in the file and you just want to change the $1 part? (This is quite tricky!)
-
- Posts: 37
- Joined: Tue Mar 13, 2012 5:03 pm
Re: Help please with find and replace
You are correct, I would like to keep the title tag and pull the information from that tag to populate an og tag and social tag.
Tricky you say, but is it possible?
Edit: deleted verbose reply
Tricky you say, but is it possible?
Edit: deleted verbose reply
-
- Posts: 37
- Joined: Tue Mar 13, 2012 5:03 pm
Re: Help please with find and replace
*bump*
Is what I am trying to do possible with Text Crawler?
Is what I am trying to do possible with Text Crawler?
- DigitalVolcano
- Site Admin
- Posts: 1866
- Joined: Thu Jun 09, 2011 10:04 am
Re: Help please with find and replace
Sorry, I can't think of an easy way to do this.
-
- Posts: 37
- Joined: Tue Mar 13, 2012 5:03 pm
Re: Help please with find and replace
Okay thanks