git://git.nikiroo.be
/
gofetch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TooLinux: details and content were inversed
[gofetch.git]
/
src
/
be
/
nikiroo
/
gofetch
/
support
/
TooLinux.java
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("/", "_");
}
id = intUrl.replace("/", "_");
}
- Element
details
Element = article.getElementsByClass("introduction")
+ Element
body
Element = article.getElementsByClass("introduction")
.first();
.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,
}
list.add(new Story(getType(), id, title, author, date, categ,