How to transform large groups of similar crappy html pages into quality css-based pages? -
What is the best way to change large clusters of very similar web pages in a new CSS-based layout? ?
I am changing all the contents of an old website in an old CSS-based layout. Many pages are very similar, and I want to be able to automate this process.
What I am currently thinking of doing, read pages using HtmlAgilityPack, and create a method for each group, same page that will create output text.
What is the best way to do this? Pages are different from most things, such as .jpg file used for the image, or how many groups of headline-image-text on that particular page
edit: I can not use any other file type Can not use .hmmml, because any suggestions are authorized to me?
EDIT2: Ideally, I might be able to do this normally, by switching around some running parts, I can use it for many different groups of html files.
The above link is that I am working with whom. The different parts between the pages will vary:
- The meta description tag
- The different headers, the main title
- Almost every image page will be new < / Li>
- Text will be unique for each video, but they will be grouped together into similar chunks
- Video files and video sizes will be unique
Everything else is the same, and the format of pages is the same.
EDIT3: When there is a doubt which can be helpful, it may be helpful to write some code that will be written to me. Pages I need to cut only the parts of the original which are in the variable, and they Put in a data file that is used for reading and writing new versions.
It depends on how exactly "identical" is actually equal. If you mean that they use many templates effectively, then I will create a new template for the new design and use it to extract the data. To make it easier to rediscover pages in the future, it may be possible to store data in a local database.
Comments
Post a Comment