Declaring dependencies and improving data extraction.
This commit is contained in:
parent
e7973abbac
commit
358acd6596
@ -4,6 +4,11 @@ baseline: spec
|
|||||||
spec
|
spec
|
||||||
for: #common
|
for: #common
|
||||||
do: [
|
do: [
|
||||||
|
"Dependencies"
|
||||||
|
self xmlParserHTML: spec.
|
||||||
|
self rssTools: spec.
|
||||||
|
"Packages"
|
||||||
spec
|
spec
|
||||||
package: 'Datanalitica'
|
package: 'Datanalitica'
|
||||||
|
with: [ spec requires: #('XMLParserHTML' 'RSSTools') ]
|
||||||
]
|
]
|
@ -0,0 +1,10 @@
|
|||||||
|
baselines
|
||||||
|
rssTools: spec
|
||||||
|
Metacello new
|
||||||
|
repository: 'github://brackendev/RSSTools-Pharo:v1.0.1/src';
|
||||||
|
baseline: 'RSSTools';
|
||||||
|
onConflict: [ :ex | ex useIncoming ];
|
||||||
|
onUpgrade: [ :ex | ex useIncoming ];
|
||||||
|
onDowngrade: [ :ex | ex useLoaded ];
|
||||||
|
load.
|
||||||
|
spec baseline: 'RSSTools' with: [ spec repository: 'github://brackendev/RSSTools-Pharo:v1.0.1/src']
|
@ -0,0 +1,11 @@
|
|||||||
|
baselines
|
||||||
|
xmlParserHTML: spec
|
||||||
|
Metacello new
|
||||||
|
baseline: 'XMLParserHTML';
|
||||||
|
repository: 'github://pharo-contributions/XML-XMLParserHTML/src';
|
||||||
|
onConflict: [ :ex | ex useLoaded ];
|
||||||
|
onUpgrade: [ :ex | ex useLoaded ];
|
||||||
|
onDowngrade: [ :ex | ex useLoaded ];
|
||||||
|
onWarningLog;
|
||||||
|
load.
|
||||||
|
spec baseline: 'XMLParserHTML' with: [spec repository: 'github://pharo-contributions/XML-XMLParserHTML/src']
|
@ -1,3 +1,3 @@
|
|||||||
operation
|
operation
|
||||||
documentTree
|
documentTree
|
||||||
^ (XMLDOMParser on: self userNameLink asUrl retrieveContents) parseDocument
|
^ XMLHTMLParser parse: self userNameLink asUrl retrieveContents
|
Loading…
Reference in New Issue
Block a user