Skip to main content
freshbrainco
Participating Frequently
February 27, 2017
Answered

Generalised change across site?

  • February 27, 2017
  • 1 reply
  • 390 views

Dear all,

I want to make a change across a website that lacks a template (www.23nlpeople.com).  There are about 300 pages. It's the little video that isnt showing on the right hand column.

The code of the video is strangely complicated and is different on every page (why the designer didnt use an embedded youtube iframe, i just don't know).  What this means is that a find-and-replace-all isn't possible.

BUT, the code is in the same line position on every page....is there a way to change the html for this video to the preferred one without doing each page individually?

I'm using CS5.5

Thanks in advance,

Andy

    This topic has been closed for replies.
    Correct answer Jon Fritz

    It will be the same iframe code on all pages.


    If there are not other <video> tags on any other pages, you could use the Specific Tag find & Replace (basically a built in RegEx filter)...


    This should be available in CS5.5, it's NOT available in CC2017...

    Open the Find & Replace tool (Ctrl + F)

    Change the Find In dropdown to "Entire Current Local Site"

    Change the Search dropdown to "Specific Tag"

    Type "video" into the tag field that appears

    For the Action dropdown, choose Replace Tag & Contents

    In the With field that appears, add your entire iframe code

    Click Replace All

    1 reply

    Jon Fritz
    Community Expert
    Community Expert
    February 27, 2017
    freshbrainco
    Participating Frequently
    February 27, 2017

    Many thanks - i'm struggling to make head or tail of the instructions there, so any pointers would be appreciated. The code i want to change is that between line 122 and 128 inclusive.

    Jon Fritz
    Community Expert
    Community Expert
    February 27, 2017

    What are you trying to replace the code with?

    Is every page still going to be different, or are you trying to get all of the pages to have the same new video code?