You can subscribe to this list here.
2004 |
Jan
(5) |
Feb
(6) |
Mar
(11) |
Apr
(6) |
May
(9) |
Jun
(5) |
Jul
(8) |
Aug
(3) |
Sep
(2) |
Oct
(16) |
Nov
(16) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(8) |
Feb
(7) |
Mar
(6) |
Apr
(8) |
May
(5) |
Jun
(9) |
Jul
(4) |
Aug
(4) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
(2) |
2006 |
Jan
(9) |
Feb
(5) |
Mar
(2) |
Apr
(9) |
May
(1) |
Jun
(4) |
Jul
(1) |
Aug
(9) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
|
2007 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(5) |
Jun
(1) |
Jul
(2) |
Aug
(4) |
Sep
(3) |
Oct
(2) |
Nov
(3) |
Dec
|
2008 |
Jan
(4) |
Feb
(7) |
Mar
(3) |
Apr
(6) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(3) |
Sep
(5) |
Oct
(1) |
Nov
(3) |
Dec
(3) |
2009 |
Jan
(2) |
Feb
(4) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
(16) |
Aug
(12) |
Sep
(10) |
Oct
|
Nov
(2) |
Dec
(4) |
2010 |
Jan
(3) |
Feb
(1) |
Mar
(1) |
Apr
(16) |
May
(4) |
Jun
(1) |
Jul
(15) |
Aug
(8) |
Sep
(14) |
Oct
(5) |
Nov
(1) |
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
(6) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Albretch M. <lb...@gm...> - 2011-09-11 21:53:46
|
~ but I don't see the tidied up version. ~ what is wrong with my code? ~ thanks lbrtchx ~ This is the kind of code I am using and the results I get: ~ // __ FIS = new FileInputStream(IFl); FOS = new FileOutputStream(OFl); // __ Td.parse(FIS, FOS); // __ FIS.close(); FOS.flush(); FOS.close(); System.err.println("// __ |" + OFl.getCanonicalPath() + "|" + OFl.length() + "|"); // __ |/media/sdc1/test00.html|test00.html| line 14 column -3 - Error: unexpected </HEAD> in <link> line 24 column 112 - Error: unexpected </td> in <IMG> line 27 column 107 - Error: unexpected </a> in <img> line 27 column 111 - Error: unexpected </td> in <img> line 29 column 89 - Error: unexpected </br> in <td> line 36 column 3 - Error: unexpected </tr> in <img> 1 warning, 95 errors were found! This document has errors that must be fixed before using HTML Tidy to generate a tidied up version. // __ |/media/sdc1/results/test02.html|0| ~ |
From: SourceForge.net <no...@so...> - 2011-06-09 00:42:35
|
The following forum message was posted by adamrauch at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/4534838: No, my "solution" was to downgrade to r918 since this issue makes it impossible for us to use r938. |
From: SourceForge.net <no...@so...> - 2011-06-05 12:11:40
|
The following forum message was posted by Anonymous at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3683463: mkV7iS <a href="http://vozwiepqjuxk.com/">vozwiepqjuxk</a>, [url=http://rlwfktgpovwc.com/]rlwfktgpovwc[/url], [link=http://imzqxhjnhbiz.com/]imzqxhjnhbiz[/link], http://isqgzyxmzgef.com/ |
From: SourceForge.net <no...@so...> - 2011-06-01 09:05:17
|
The following forum message was posted by rbattistoni at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/4534838: Have you solved it? I have the same problem... |
From: SourceForge.net <no...@so...> - 2011-05-18 00:18:07
|
The following forum message was posted by at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/4534838: Our product lets users submit HTML that we display. The HTML can include JavaScript and, of course, the HTML and JavaScript is often malformed. We use JTidy to clean it up. I recently upgraded to r938 and noticed that JavaScript with strings containing unescaped HTML tags is now handled incorrectly. r918, tidy.exe, and Firefox HTML Tidy all flag these tags as warnings ("Warning: <' + '/' + letter not allowed here"); r938 claims 1 error but doesn't list it specifically (instead stating generically "This document has errors that must be fixed before using HTML Tidy to generate a tidied up version") and fails to generate any output. Sample code that demonstrates the problem below: [code]import org.w3c.tidy.Tidy; import java.io.Reader; import java.io.StringReader; public class JTidyBug { // Works as expected when using JTidy r918 (four warnings) // Does not work at all when using JTidy r938 (three warnings, one error, no output) public static void main(String[] args) { String html = "<script>\n" + "\tvar foo = \"<form>Test</form>\";\n" + "</script>"; Tidy tidy = new Tidy(); tidy.setXHTML(true); Reader reader = new StringReader(html); tidy.parse(reader, System.out); } }[/code] Thanks, Adam |
From: Hoshang V. <hos...@gm...> - 2011-04-11 12:09:14
|
Hi I am new to JTidy. My question is: Can I use it to compare two HTML codes? _______________________________ Regards, *Hoshang Varshney* _______________________________ |
From: SourceForge.net <no...@so...> - 2011-03-21 02:16:39
|
The following forum message was posted by donovant78 at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/4420898: My portion od code is: [code] fos = new FileOutputStream(file); fis = new FileInputStream(file); Tidy tidy = new Tidy(); tidy.setXHTML(true); tidy.setDocType("transitional"); tidy.setInputEncoding("UTF-8"); tidy.setOutputEncoding("UTF-8"); tidy.setIndentContent(true); //tidy.setQuiet(true); Document doc = tidy.parseDOM(fis, null); //Node title = (Node) doc.getElementsByTagName("title").item(0); //Element elTitle = (Element) doc.getElementsByTagName("title").item(0); Element elBody = (Element) doc.getElementsByTagName("body").item(0); elBody.setTextContent("ciao");//<- raise an exception [/code] Exception: [code] Exception in thread "main" org.w3c.dom.DOMException: Node is read only at org.w3c.tidy.DOMNodeImpl.setTextContent(Unknown Source) [/code] Thank! |
From: SourceForge.net <no...@so...> - 2011-03-21 02:10:59
|
The following forum message was posted by donovant78 at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/4420898: Hi, I had a some problems with JTidy, I don't understand how to use it. For example to create o set a node/element as textContent of tag TITLE o tag BODY. Someone could help me? Thank! |
From: SourceForge.net <no...@so...> - 2011-01-31 04:27:07
|
The following forum message was posted by gnallan at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/4082229: slightly unique situation. I've a HTML document to which a few custom tags must be added before passing along for parsing as a XML. The input HTML is not very clean (usually missing end tags) and hence I need to use JTidy for cleaning it. The problem is that JTidy adds the end tag in the wrong place. The HTML Tidy cleanses it properly in this case. Sample Input - <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> <head><title></title></head> <body> <h2>This H2 tag is missing the end tag <p>Rest of the stuff comes here</p> </body> </html> JTidy adds the </h2> tag after </p>. Instead of after the text following the H2 tag. As mentioned, HTML Tidy cleanses this properly. The settings am using for JTidy are as follows - tidy.setXmlTags(true); tidy.setEncloseText(true); tidy.setEncloseBlockText(true); tidy.setForceOutput(true); tidy.setShowErrors(100); tidy.setShowWarnings(true); tidy.setXmlOut(true); tidy.setQuiet(false); localDoc = tidy.parseDOM(fis, baos); |
From: SourceForge.net <no...@so...> - 2011-01-25 22:27:59
|
The following forum message was posted by Anonymous at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/4070918: Why has it been so long since the last release? I'm experiencing a bug that was fixed after r938. |
From: Ryszard Ł. <ry...@gm...> - 2010-11-16 16:22:54
|
Hi. Is there any way to find out where do I have errors in input file? Jtidy reports number of warning and errors, but how find out where are they? TIA R. -- "First they ignore you. Then they laugh at you. Then they fight you. Then you win." - Mohandas Gandhi. |
From: SourceForge.net <no...@so...> - 2010-10-26 17:20:33
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3913247: Please file a bug report and provide the java code you used and a copy of the html page. |
From: SourceForge.net <no...@so...> - 2010-10-26 17:15:41
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/3873495: Hi, please file a bug report and attach the html. This is probably fixed in the CodeUpdateAndJava5 branch but not in trunk. Also try testing with tidy (the C program) |
From: SourceForge.net <no...@so...> - 2010-10-26 17:12:47
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Hmm, it looks like your paste has expired, do you still have the file? Could you attach it to a bug report? |
From: SourceForge.net <no...@so...> - 2010-10-26 01:34:55
|
The following forum message was posted by Anonymous at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3913247: I am using JTidy to extract textual content from web pages. Recently I found that the following web page (in Spanish) http://www.lindisima.com/ wasn't having all its content extracted. Most of the web content was not extracted. The web pages looks fine in Firefox and Internet Explorer, but very little of its textual content is returned by JTidy. For example, the word "ejercicio" appears as text for an <a> element, and it isn't extracted. I have looked carefully at output returned by Element root = tidyDoc.getDocumentElement(); NodeList nodeList = root.getElementsByTagName("*"); and there are a lot of missing anchor tags, plus other content is missing. Some content is returned, but most of the content in the web page is not extracted. For example, I have counted over 160 anchor tags in the document but JTidy's DOM only has a half dozen or so anchor tags. I am using the jar jtidy-r938 and using a 1.4 JSDK. Any suggestions? Thanks in advance. Stefan |
From: Daniel R. <dr...@vi...> - 2010-10-13 12:16:25
|
Hello, i would like to know because i don't find any option for that, if its possible to remove blank lines in html documents? Using the JTidyFilter mechanism. Thanks. TIA Daniel |
From: SourceForge.net <no...@so...> - 2010-09-30 08:01:46
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/3873495: Hi, When I am trying to run JTidy on my HTML code, I am getting negative column no. in my Message Listener. I am not sure why it is happening. Could you please help me to find out the reason for that? For your reference, I am giving you some details HTML Source code at [url=http://pastebin.ca/1951650]http://pastebin.ca/1951650[/url] [b]JTidy Code[/b] m1() { Tidy tidy = new Tidy(); // tidy.setQuiet(true); tidy.setShowWarnings(true); tidy.setOnlyErrors(true); tidy.setXHTML(true); tidy.setXmlOut(true); tidy.setXmlTags(true); tidy.setRepeatedAttributes(1); tidy.setErrout(new PrintWriter(new FileWriter("error.txt"), true)); tidy.setMessageListener(new MyMessageListener()); //tidy.setErrout(System.out); tidy.setForceOutput(false); String dom = getFileContent("t.html"); StringReader reader = new StringReader(dom); Document document = tidy.parseDOM(reader, null); } [b]Listener code[/b] public void messageReceived(TidyMessage msg) { System.out.println("--------------------------------"); System.out.println(msg.getMessage()); System.out.println(msg.getColumn()); if(msg.getColumn() < 0) { System.out.println(); } } Thanks, Nitin Goel |
From: SourceForge.net <no...@so...> - 2010-09-20 07:14:04
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: I have tried with the JTidy version 7 as well. There also I am getting the same error. Is it an old age bug in Tidy? |
From: SourceForge.net <no...@so...> - 2010-09-15 21:07:44
|
The following forum message was posted by martinkurz at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3787602: Have you tried casting the node to element and using setAttribute(name, value) instead as a workaround? Could you provide a testcase? |
From: SourceForge.net <no...@so...> - 2010-09-15 09:26:29
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Thanks for your reply. Basically I am interested in getting all the errors. I have also filed a Tidy bug for that [url=https://sourceforge.net/tracker/?func=detail&aid=3066704&group_id=27659&ati d=390963]https://sourceforge.net/tracker/?func=detail&aid=3066704&group_id=27659 &atid=390963[/url] |
From: SourceForge.net <no...@so...> - 2010-09-14 16:37:10
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Ok, I can see what's going on now. I get this output with that file: line 29 column 17 - Warning: <link> attribute with missing trailing quote mark line 39 column 1 - Error: unexpected </head> in <link> line 70 column -3 - Error: unexpected </html> in <link> line 72 column 5 - Error: unexpected </div> in <link> line 98 column 13 - Error: unexpected </div> in <p> line 123 column -3 - Error: unexpected </div> in <p> line 124 column 9 - Error: unexpected </div> in <p> 1 warning, 18 errors were found! This document has errors that must be fixed before using HTML Tidy to generate a tidied up version. However, I get a similar output with Tidy (the C program). Since JTidy is a java port of Tidy, this should be reported as a Tidy bug. I think you can ignore the error count for now, and just focus on the actual errors. |
From: SourceForge.net <no...@so...> - 2010-09-14 13:46:51
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Thanks for your quick reply. I have pasted the HTML Source code at http://pastebin.ca/1940541 |
From: SourceForge.net <no...@so...> - 2010-09-14 12:58:48
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Oh ok, I didn't see your last comment when I was writing mine. |
From: SourceForge.net <no...@so...> - 2010-09-14 12:58:01
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: You didn't mention the jtidy version. If the html is confidential, then can you replace the pieces of text with dummy stuff? Or can you come up with a smaller html that shows similar problems? |
From: SourceForge.net <no...@so...> - 2010-09-14 12:57:26
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: I am using version 938. |