git://git.nikiroo.be
/
gofetch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3175580
)
TooLinux: details and content were inversed
author
Niki Roo
<niki@nikiroo.be>
Fri, 23 Mar 2018 22:28:57 +0000
(23:28 +0100)
committer
Niki Roo
<niki@nikiroo.be>
Fri, 23 Mar 2018 22:28:57 +0000
(23:28 +0100)
src/be/nikiroo/gofetch/support/TooLinux.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/gofetch/support/TooLinux.java
b/src/be/nikiroo/gofetch/support/TooLinux.java
index 806133128eb2ec56111e0828a46ede739637d4ee..0cc4c6cf58839d9646ad5d567f48767dfdff068e 100644
(file)
--- a/
src/be/nikiroo/gofetch/support/TooLinux.java
+++ b/
src/be/nikiroo/gofetch/support/TooLinux.java
@@
-69,10
+69,10
@@
public class TooLinux extends BasicSupport {
id = intUrl.replace("/", "_");
}
- Element
details
Element = article.getElementsByClass("introduction")
+ Element
body
Element = article.getElementsByClass("introduction")
.first();
- if (
details
Element != null) {
-
details += StringUtils.unhtml(details
Element.text()).trim();
+ if (
body
Element != null) {
+
body = StringUtils.unhtml(body
Element.text()).trim();
}
list.add(new Story(getType(), id, title, author, date, categ,