Editing Multiple Software

Discussion in 'HTML & Website Design' started by brgdvds, Jan 22, 2007.

  1. #1
    Hi there. Does anybody know of a wep page editor which can edit certain strings in a group of pages. For example I have around a 100 pages, and I would like to change the adsense code for all of them ... is this possible ?
     
    brgdvds, Jan 22, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Your scripts and css should be external to the html. That is best practice. Else, you run into the issue you have now.

    I'm sorry I can't offer more specific help. I'm not sure how I'd do it, should I let myself go there. It would probably involve bash, grep and sed, to find the adsense blocks and delete them, and add a link to the external file.

    cheers,

    gary
     
    kk5st, Jan 22, 2007 IP
  3. brgdvds

    brgdvds Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for your interest. I managed to find a way around it though. I identified a text editor that finds and replases strings in multiple files ... its called UltraEdit-32. Unfortunately it has a 45day trial ... I wonder if anybody knew of a similar freeware program.
     
    brgdvds, Jan 23, 2007 IP
  4. MattD

    MattD Peon

    Messages:
    161
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    MattD, Jan 23, 2007 IP