[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/klinkstatus_proceed
From: Paulo Moura Guedes <moura () kdewebdev ! org>
Date: 2005-10-31 22:46:27
Message-ID: 1130798787.089775.32029.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 476225 by mojo:
- Bump version number.
- Improve the stylesheet.
- Decode entities to ouput in the XML doc.
M +20 -0 data/styles/results_stylesheet.xsl
M +3 -2 src/engine/linkstatus.cpp
M +1 -1 src/klinkstatus_part.cpp
M +1 -1 src/main.cpp
--- branches/work/klinkstatus_proceed/data/styles/results_stylesheet.xsl #476224:476225
@@ -6,6 +6,26 @@
<xsl:template match="/klinkstatus">
<html>
<body>
+
+ <strong>URL: </strong>
+ <xsl:value-of select="/klinkstatus/url"/>
+ <br/>
+ <strong>Depth: </strong>
+ <xsl:value-of select="/klinkstatus/depth"/>
+ <br/>
+ <strong>Check Parent Folders: </strong>
+ <xsl:value-of select="/klinkstatus/check_parent_folders"/>
+ <br/>
+ <strong>Check external links: </strong>
+ <xsl:value-of select="/klinkstatus/check_external_links"/>
+ <br/>
+ <xsl:if test="/klinkstatus/check_regular_expression[@check = 'true']">
+ <strong>Do not check links matching regular expression: </strong>
+ <xsl:value-of select="/klinkstatus/check_regular_expression"/>
+ <br/>
+ </xsl:if>
+ <br/>
+
<table border="1">
<thead>
<tr>
--- branches/work/klinkstatus_proceed/src/engine/linkstatus.cpp #476224:476225
@@ -23,6 +23,7 @@
#include "../ui/treeview.h"
#include <klocale.h>
+#include <kcharsets.h>
#include <qdom.h>
@@ -185,9 +186,9 @@
tmp_1.appendChild(element.ownerDocument().createTextNode(status()));
child_element.appendChild(tmp_1);
- // <status>
+ // <label>
tmp_1 = element.ownerDocument().createElement("label");
- tmp_1.appendChild(element.ownerDocument().createTextNode(label()));
+ tmp_1.appendChild(element.ownerDocument().createTextNode(KCharsets::resolveEntities(label())));
child_element.appendChild(tmp_1);
// <referers>
--- branches/work/klinkstatus_proceed/src/klinkstatus_part.cpp #476224:476225
@@ -48,7 +48,7 @@
const char KLinkStatusPart::description_[] = I18N_NOOP( "A Link Checker" );
-const char KLinkStatusPart::version_[] = "0.2.3";
+const char KLinkStatusPart::version_[] = "0.3.0";
// Factory code for KDE 3
typedef KParts::GenericFactory<KLinkStatusPart> KLinkStatusFactory;
--- branches/work/klinkstatus_proceed/src/main.cpp #476224:476225
@@ -33,7 +33,7 @@
static const char description[] =
I18N_NOOP("A Link Checker.\n\nKLinkStatus belongs to the kdewebdev module from KDE.");
-static const char version[] = "0.2.3";
+static const char version[] = "0.3.0";
static KCmdLineOptions options[] =
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic