Declaring dependencies and improving data extraction.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-01-11 22:00:08 -05:00
parent e7973abbac
commit 358acd6596
4 changed files with 27 additions and 1 deletions

View File

@ -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') ]
] ]

View File

@ -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']

View File

@ -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']

View File

@ -1,3 +1,3 @@
operation operation
documentTree documentTree
^ (XMLDOMParser on: self userNameLink asUrl retrieveContents) parseDocument ^ XMLHTMLParser parse: self userNameLink asUrl retrieveContents