寻求XHTML语法检查程序的Beta测试人员 [英] Beta testers for an XHTML syntax checker sought
问题描述
大家好,
我写了一个XHTML语法检查程序,叫做''Tidybot''。它是建立在众所周知的HTML Tidy之上的b $ b。图书馆。
我写的是因为我需要一些非常具体的功能我不能在其他地方找到它们。现在它存在,我想
让它可供全世界使用,以防万一其他人发现
也很有用。
它做什么:
- 遍历硬盘上的一个或多个源目录
递归,并运行它找到的所有.html / .htm文件通过
TidyLib,收集它遇到的所有警告和错误
并在XHTML报告中很好地展示它们。
- 你可以指定要从支票中排除的文件/目录,
您可以在生成的
报表中指定要抑制的警告/错误,并且您可以指定''key:value''选项将
直接传递给底层的Tidy引擎。您还可以告诉
生成的报告使用不同的CSS样式表,如果您想要
它有自己的外观&感觉。
- 同时提供命令行版本(便于自动化
调度)和一个(功能相当,但更多
用户友好型)GUI版。
- 跨平台,在Unix / Linux和MS Windows上运行
(我敢说它也将在MacOS上运行 - 当然
命令行版本应该 - 但我还没能测试
那个)。一个单文件安装程序可用于
Windows。 (在Unix上,你还需要安装一些
的先决条件。)
它(设计)不做什么:
- 没有转换或编辑文件 - 它只是检查文件,
帮助你*保持*整洁,而不是整理它们
你好。
- 从网络服务器上获取页面 - 只支持静态页面支持本地文件系统上可用的
。
我在寻找:
- 愿意给Tidybot 1.5b2(当前测试版)的人们
a在他们的系统上运行,然后向我发送测试报告和
反馈,详细说明他们有时间和倾向。
澄清:Tidybot可能具有相当有限的功能(当与Bidy的能力相比时,
,但它不是一个快速的黑客,
,在我正式发布它到世界之前我真的想要
确保它尽可能完美无瑕地运行。这就是欢迎所有
反馈的原因。
Tidybot主页是:
< http: //www.kronto.org/tidybot/>
您可以在以下网址看到每日更新的报告页面:
< http://library.lspace.org/tidybot/>
Tidybot及其源代码作为免费软件在MIT许可证的
下发布。
非常感谢任何愿意帮助我的人。
这个。
-
Leo Breebaart< le*@kronto.org>
Hi all,
I have written an XHTML syntax checker, called ''Tidybot''. It is
built on top of the well-known "HTML Tidy" library.
I wrote it because I needed some very specific functionality I
couldn''t easily find elsewhere. Now that it exists, I''d like to
make it available to the world, just in case others find it
useful, too.
What it does:
- Traverses one or more source directories on your hard disk
recursively, and runs all .html/.htm files it finds through
TidyLib, collecting all warnings and errors it encounters
and presenting them nicely in an XHTML report.
- You can specify files/directories to exclude from the checks,
you can specify warnings/errors to suppress in the generated
report, and you can specify ''key:value'' options to pass
directly to the underlying Tidy engine. You can also tell the
generated report to use a different CSS stylesheet if you want
it to have your own look & feel.
- Comes in both a command-line version (for easy automated
scheduling) and a (functionally equivalent, but more
user-friendly) GUI version.
- Is cross-platform, running on both Unix/Linux and MS Windows
(and I daresay it will run on MacOS as well -- certainly the
command-line version should -- but I haven''t been able to test
that). A one-file Installer application is available for
Windows. (On Unix, you will also need to install a number of
prerequisites.)
What it (by design) doesn''t do:
- No conversion or editing of files -- it just checks files,
helping you to *keep* things tidy, rather than tidying them for
you.
- Doesn''t get pages from a web server -- only static pages
available on the local file system are supported.
What I am looking for:
- People willing to give Tidybot 1.5b2 (the current beta version)
a run on their system, and then send me test reports and
feedback as detailed as they have the time and inclination for.
To clarify: Tidybot may have a rather limited functionality (when
compared to what Tidy is capable of) but it is not a quick hack,
and before I officially release it to the world I really want to
make sure it runs as flawlessly as possible. This is why all
feedback is welcome.
The Tidybot Home Page is:
<http://www.kronto.org/tidybot/>
and you can see daily updated report pages in action at:
<http://library.lspace.org/tidybot/>
Tidybot and its source code are released as free software under
the MIT License.
Many thanks in advance to anybody willing to help me out with
this.
--
Leo Breebaart <le*@kronto.org>
推荐答案
2005年6月23日12:49:56 GMT,Leo Breebaart < le*@kronto.org>写道:
On 23 Jun 2005 12:49:56 GMT, Leo Breebaart <le*@kronto.org> wrote:
我编写了一个XHTML语法检查程序,称为Tidybot。它建立在众所周知的HTML Tidy之上。图书馆。
I have written an XHTML syntax checker, called ''Tidybot''. It is
built on top of the well-known "HTML Tidy" library.
糟糕的选择,恕我直言。 Tidy是基于HTML构建的,并不是
XML工具的良好基础。根据返回的内容类型,它的行为是什么?
它是否正确处理XHTML _as_XML_?
Poor choice, IMHO. Tidy is built on HTML and isn''t a good basis for an
XML tool. What''s its behaviour depending on the content-type returned ?
Does it correctly handle XHTML _as_XML_ ?
Andy Dingley< di * ****@codesmiths.com>写道:
Andy Dingley <di*****@codesmiths.com> writes:
2005年6月23日12:49:56 GMT,Leo Breebaart< le*@kronto.org>写道:
On 23 Jun 2005 12:49:56 GMT, Leo Breebaart <le*@kronto.org> wrote:
我编写了一个XHTML语法检查程序,称为Tidybot。它建立在众所周知的HTML Tidy之上。图书馆。
糟糕的选择,恕我直言。
I have written an XHTML syntax checker, called ''Tidybot''. It is
built on top of the well-known "HTML Tidy" library.
Poor choice, IMHO.
完全可能 - 正如我所说,我对上市犹豫不决
with这个实用程序,因为我最初觉得它是只是一个工具周围没有真正创建XHTML
验证器的工具。
另一方面,TidyLib是*那里*,我实际上可以使用
它没有太多的麻烦,结果肯定服务了
它的目的:我运行我们的文件通过它,它标记为
错误或警告,我解决了这些问题,我们的XHTML文件变得更整洁了
(并且真正的验证者同意这一点)。
这对我们来说是一个净赢的任何方式我看看它。
Tidy是建立在HTML之上的,并不是一个很好的基础。 XML工具。
根据返回的内容类型,它的行为是什么?
我不确定我理解你的问题。 Tidy(和Tidybot)在本地文件上工作
,而不是在从服务器检索的HTML页面上工作,所以
没有内容类型返回正如我理解这句话。
此外,我永远不会声称Tidybot是一个XML工具 - 我看到它
更像是一种''lint ''用于XHTML文件。没有更多,没有什么
更少。
它是否正确处理XHTML _as_XML_?
Entirely possible -- as I said, I was hesitant about going public
with this utility, because I initially felt it was "just" a
wrapper around a tool that wasn''t really created to be an XHTML
validator in the first place.
On the other hand, the TidyLib was *there*, I could actually use
it without too much hassle, and the result has certainly served
its purpose: I run our files through it, it flags things as
errors or warnings, I fix those, our XHTML files become neater
(and the real validators agree with that).
This is a net win for us any which way I look at it.
Tidy is built on HTML and isn''t a good basis for an XML tool.
What''s its behaviour depending on the content-type returned ?
I''m not sure I understand your question. Tidy (and Tidybot) work
on local files, not on HTML pages retrieved from a server, so
there is no content-type "returned" as I understand the phrase.
Also I would never claim that Tidybot was an XML tool -- I see it
more as a kind of ''lint'' for XHTML files. Nothing more, nothing
less.
Does it correctly handle XHTML _as_XML_ ?
我认为指定input-xml:yes到底层的TidyLib
负责处理,是的,但也许你可以给我一个特定的
例子,说明可能无法正确处理的情况?
-
Leo Breebaart< le*@kronto.org>
I think specifying the "input-xml:yes" to the underlying TidyLib
takes care of that, yes, but perhaps you can give me a specific
example of a situation that might not be handled correctly?
--
Leo Breebaart <le*@kronto.org>
2005年6月23日16: 42:14 GMT,Leo Breebaart< le*@kronto.org>写道:
On 23 Jun 2005 16:42:14 GMT, Leo Breebaart <le*@kronto.org> wrote:
它是否正确处理XHTML _as_XML_?
Does it correctly handle XHTML _as_XML_ ?
我认为指定input-xml :是"对于底层的TidyLib
负责,是的,但也许您可以给我一个特定的
示例,说明可能无法正确处理的情况?
I think specifying the "input-xml:yes" to the underlying TidyLib
takes care of that, yes, but perhaps you can give me a specific
example of a situation that might not be handled correctly?
上次我看起来不支持Namespacing。由于这是将XML转换为HTML的几个原因之一,这是重要的恕我直言。
Namespacing wasn''t supported last time I looked. As this is one of the
few reasons for going XML over HTML, that''s significant IMHO.
这篇关于寻求XHTML语法检查程序的Beta测试人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!