summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-03 00:34:42 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-03 00:34:42 +0100
commite73f0b997db3f2b082c6617b3b041e0b320ea7d7 (patch)
tree03e36acb99a5b336c4e7092a39a045f00601b9aa
parentFilter out wildly inaccurate changelog dates, but accept long month names (diff)
downloadgentoobrowse-e73f0b997db3f2b082c6617b3b041e0b320ea7d7.tar.bz2
gentoobrowse-e73f0b997db3f2b082c6617b3b041e0b320ea7d7.tar.xz
gentoobrowse-e73f0b997db3f2b082c6617b3b041e0b320ea7d7.zip
Compat fix for Project2 XML parse changes
-rw-r--r--gentoobrowse/console/bugimport.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/gentoobrowse/console/bugimport.xml b/gentoobrowse/console/bugimport.xml
index 412be83..2d29b27 100644
--- a/gentoobrowse/console/bugimport.xml
+++ b/gentoobrowse/console/bugimport.xml
@@ -10,11 +10,14 @@
<project2:xpathrows name="buglist" html="true" warnings="false" timeout="60000">
<proxy value="cache.random.lan:8080" />
<url source="parent" name="url" depth="1" />
+ <namespaces>
+ <html prefix="x" url="http://www.w3.org/1999/xhtml" />
+ </namespaces>
<filterviews>
- <bugdetails root="/html/body/div/ul/li/a">
+ <bugdetails root="/x:html/x:body/x:div/x:ul/x:li/x:a">
<fields>
<bugid xpath="number(substring-before(substring-after(.,'Bug:'),' '))" />
- <summary xpath="em" />
+ <summary xpath="x:em" />
<status xpath="substring-before(substring-after(.,'status:'),' ')" />
<severity xpath="substring-after(.,'severity:')" />
</fields>