Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HTML Boilerplate

HTML Boilerplate

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialhtml
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rolando Cruz
    wrote on last edited by
    #1

    Hi, I do not know if this has been covered before nut I am in need of an example which will show how to take an HTML file with special tags (maybe in the form of comments) and allow me to replace those special tags with additional customized HTML code. I guess it's kind of like a search and replace text but at a file level. I am not sure how to proceed with doing this. Any ideas and/or sugggestions would be appreciated. I've looked at several articles here but can't seem to find exaqctly what I need. Thanks Rolando

    RaviBeeR C 2 Replies Last reply
    0
    • R Rolando Cruz

      Hi, I do not know if this has been covered before nut I am in need of an example which will show how to take an HTML file with special tags (maybe in the form of comments) and allow me to replace those special tags with additional customized HTML code. I guess it's kind of like a search and replace text but at a file level. I am not sure how to proceed with doing this. Any ideas and/or sugggestions would be appreciated. I've looked at several articles here but can't seem to find exaqctly what I need. Thanks Rolando

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      Are you looking to do this on the server side or as a client (after downloading the page). If it's the latter, this[^] article may help. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

      1 Reply Last reply
      0
      • R Rolando Cruz

        Hi, I do not know if this has been covered before nut I am in need of an example which will show how to take an HTML file with special tags (maybe in the form of comments) and allow me to replace those special tags with additional customized HTML code. I guess it's kind of like a search and replace text but at a file level. I am not sure how to proceed with doing this. Any ideas and/or sugggestions would be appreciated. I've looked at several articles here but can't seem to find exaqctly what I need. Thanks Rolando

        C Offline
        C Offline
        Chris Losinger
        wrote on last edited by
        #3

        1. open HTML file, open output file 2. while lines left to read 3. read a line 4. scan the line for the special tags 5. for each one you find, replace it with the additional HTML 6. write the modified line 7. go to 2 8. close the files Image Toolkits | Image Processing | Cleek

        R 1 Reply Last reply
        0
        • C Chris Losinger

          1. open HTML file, open output file 2. while lines left to read 3. read a line 4. scan the line for the special tags 5. for each one you find, replace it with the additional HTML 6. write the modified line 7. go to 2 8. close the files Image Toolkits | Image Processing | Cleek

          R Offline
          R Offline
          Rolando Cruz
          wrote on last edited by
          #4

          Thanks, Of course this is the way to do it!! I must have had a temporary mind meltdown, I've been for focused on the project I just could not see what I needed to do. Rolando

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups