修改html标题页文字 [英] Amend html title page text

查看:118
本文介绍了修改html标题页文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾希望找到一款可以满足我要求的软件,但到目前为止仍未成功.在网上搜索时,我看到了很多软件包,但没有一个软件包可以完全满足我的要求.我还搜索了该站点,以查看是否有可能这样做的vbscript,但也在那里绘制了空白.

是否有人知道或知道能够执行以下操作的VBScript-递归浏览HTML文件的文件夹,然后:

1筛选当前的HTML文件名,并同时显示当前保存在< title>中的文本信息.同一HTML文件的标签.
2请允许我根据需要进行更改或接受当前位于HTML标题页标记之间的文本
3提供一个单击按钮,以在屏幕上调用下一个HTML文件名及其标题页信息,依此类推,直到处理完文件夹中的所有HTML文件为止.

另外,有人知道具有此功能的任何软件吗?有许多批量"重命名器可以重命名文件以匹配标题页信息,但这不是我所需要的.在任何情况下,这种批量处理都没有用,因为鉴于每个文件的信息都不同,我需要单独处理每个文件.

谢谢您的帮助!

Crianlarich

I had hoped to find a piece of software which would do what I require but have been unsuccessful so far. Googling the web pointed me to quite a number of software packages but none of them do exactly what I want. I have also searched this site to see if there was a vbscript which might do so but drew a blank there too.

Does anyone have or know of a VBScript which is capable of doing the following - recursively go through a folder of HTML files and:

1 Screen up the current HTML file name and dispaly at the same time the text info currently held in the <title> tag of that same HTML file.
2 Allow me to change as necessary or accept the text currently located between the HTML title page tags
3 Provide a click-on button to call up on screen the next HTML file name along with its title page information and so on until all the HTML files in the folder have been processed.

Alternatively, does anyone know of any software which has this capability? There are a number of "bulk" renamers which can rename the file to match the title page info but that is not what I require. In any case that sort of bulk process is of no use as I need to deal with each file individually given the info for each will be different.

Thank you if you can be of assistance!

Crianlarich

推荐答案

听起来像 ^ ].首先,查找示例,您应该能够找到解决方案.
Sounds like a job for regular expressions[^]. Start with that, look for examples and you should be able to come up with a solution.


这篇关于修改html标题页文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆