2016년 11월 27일 일요일

Alert when word appears on the url


How to find a word on the web and tell the screen

--

-- 
It would be nice if you would give more detail about what you would like to do!
Cheers, Ghica

-- 
Search the text "ENCOBERTO" in the site: if locate, show message: OK

site :https://www.mar.mil.br/dhn/chm/meteo/prev/santos/santos.htm

thanks

-- 

i think this project will help you.


-- 
I am not so sure how the above project will help you.

But anyway, it is not very difficult. Use the web component http://ai2.appinventor.mit.edu/reference/components/connectivity.html#Web
and point it to your website. Use the GotText event and search the text using contains text, piece http://appinventor.mit.edu/explore/ai2/support/blocks/text.html#contains
for the word you need.
This is called screen scraping. If you search the forum for it, you will find some examples.
Cheers, Ghica.


-- 

댓글 없음:

댓글 쓰기