Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
marcel_olmo
Partner Ambassador
Partner Ambassador

Reading information from a website. (How to include non table information??)

Hey guys, I was just testing how can Qlikview help, feeding us with Internet information via websites.

I've found a powerful website that give us description about websites called quarkbase.com

If you try to load the website, you only cand "add" the table info. (The information that is inside table tags <TABLE> <TH>....)

WebInfo:

LOAD F1,
Rank
FROM
[http://www.quarkbase.com/google.com]
(html, codepage is 1252, embedded labels, table is @2);

If you see the webpage : http://www.quarkbase.com/google.com, you'll notice you are missing a lot of useful information (pageranks, traffic ranks, alexa ranks, related tags,competitors, etc... ).

Is there any way to get that from the website into a Qlikview Document???

Many thanks in advance!!!

1 Solution

Accepted Solutions
marcel_olmo
Partner Ambassador
Partner Ambassador
Author

Hey guys, here's what I've found. I hope you find it useful.

First step download the HTML as plain file :

Web :

LOAD
recno() as Position,

@1:n as Code

FROM "http://www.example.com" (ansi, fix, no labels, record is line);

and then parse the resident table with your desired tabs with "textbetween" function :

Web2 :

load

TextBetween(Code,'Begin','End') as [Field]

resident Web;

Cheers!!

View solution in original post

1 Reply
marcel_olmo
Partner Ambassador
Partner Ambassador
Author

Hey guys, here's what I've found. I hope you find it useful.

First step download the HTML as plain file :

Web :

LOAD
recno() as Position,

@1:n as Code

FROM "http://www.example.com" (ansi, fix, no labels, record is line);

and then parse the resident table with your desired tabs with "textbetween" function :

Web2 :

load

TextBetween(Code,'Begin','End') as [Field]

resident Web;

Cheers!!