简体   繁体   English

如何将完全由框架制成的网站转换为HTML?

[英]How do I convert a website entirely made from frames into HTML?

I am looking to convert a clients website into HTML. 我希望将客户网站转换为HTML。 I'm relatively new as my skills are more directed in the front end of websites (design) so I'm quite lost. 我相对较新,因为我的技能更多地指向网站(设计)的前端,所以我很迷失。 The website is allegianceglobalinvestigations.com and if you scroll through it, each page has the same URL. 该网站为allegianceglobalinvestigations.com ,如果滚动浏览该页面,则每个页面都有相同的URL。 How to I create a HTML file/template from this? 如何从中创建HTML文件/模板? I'm assuming that since there are 4 pages, I'll end up with 4 files? 我假设既然有4页,那么我最终会得到4个文件吗? Do I need to use OCR for the text? 我需要对文本使用OCR吗?

If you view the source it will show you the urls of the other frames. 如果您查看源,它将显示其他框架的URL。 If you view just that url you can get the source for just that frame. 如果仅查看该URL,则可以获取该框架的源。 You can use that source all together with some changes if you're trying to just "un-framify" the site. 如果您只是尝试“取消框架化”网站,则可以将所有资源与一些更改一起使用。 I think that was what you were asking. 我想这就是你要问的。

There is very little text on there so the only OCR you will need is your eyes and a keyboard if you're trying to use real text on the site. 那里的文字很少,因此,如果您要在网站上使用真实的文字,则唯一需要的OCR是眼睛和键盘。

And yes, you will end up with 4 different files. 是的,您最终将获得4个不同的文件。 One for each page. 每页一个。

Good luck with your project, the best way to learn is to dive right in! 祝您的项目好运,最好的学习方法就是直接潜水!

This is a frame-based site with a top menu in one frame selecting between four pages in the other frame. 这是一个基于框架的站点,在一个框架中具有顶部菜单,在另一个框架中的四个页面之间进行选择。 The content of each subpage is encoded as a JPEG image in a table. 每个子页面的内容在表中被编码为JPEG图像。

There are already files for each subpage: content.htm , sis.html , services.htm , and contact.htm . 每个子页面已经有文件: content.htmsis.htmlservices.htmcontact.htm With this low amount of text, you may as well just type the text currently in the images into the body of these files instead of using OCR. 由于文本量很少,您也可以只将图像中当前的文本键入这些文件的主体中,而不使用OCR。 Replace everything between <body> and </body> with the text, then use HTML to mark up to the content to your liking. 用文本替换<body></body>的所有内容,然后使用HTML根据自己的喜好标记内容。

To eliminate the frames , paste the content of the body element from the menu.htm file into the start of the body element of the four subpages. 要消除这些帧 ,请将menu.htm文件中body元素的内容粘贴到四个子页面的body元素的开头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM