Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extracting Data From A Website
#1
Hi there Team,
Just started a new project for a charity called Citizens Advice Bauru and wanted to know if it was possible to extract data from a website and display that text only in a textbox so the information is up to date it takes that information off the website and puts it in a textbox. Or to display that information in a web browser but not interested in pictures of links just the text from an immediate page <Front Page>

Here is an example


http://i877.photobucket.com/albums/ab333...itled1.jpg

Website: <!-- m --><a class="postlink" href="http://www.briteccomputers.co.uk">http://www.briteccomputers.co.uk</a><!-- m -->
If this is not possible that is also fine as it will give me something to get my teeth stuck in to at another time and I will try and find a way around it and tell them it can’t be done <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->

All help is appreciated and noted for future reference

Kind Regards

Bradley
#2
i belive there is a command in the webbrowser component that says text-only Maybe try that <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->
Website: <!-- m --><a class="postlink" href="http://www.PBAProductions.com">http://www.PBAProductions.com</a><!-- m -->
E-Mail: <!-- e --><a href="mailtoTongueatrick@AriSystems.Org">Patrick@AriSystems.Org</a><!-- e -->
Skype: Qwaxer
Youtube: Qwaxer
[Image: 2hnx8av.jpg]
#3
If Xolara's suggestion doesn't work then you can get the HTML code of the webpage using .DocumentText and extract text that may have h1, h2, h3, p, etc. tags.
My Blog | My Setup | My Videos | Have a wonderful day.
#4
Thank you both for your help,
I was unable to find such a command that does this and not sure how to strip the text so going to solve this problem another time thanks for your replies

Kind Regards

Bradley


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I fill my form with MySQL data based on Combobox? kismetgerald 8 26,704 10-14-2012, 09:05 PM
Last Post: brandonio21
  Loading DB data into Combobox then populate TextBox Controls kismetgerald 0 5,709 09-02-2012, 08:44 PM
Last Post: kismetgerald
  Reading certain text from website. b_ongzhenyu 0 6,314 03-16-2012, 07:13 AM
Last Post: b_ongzhenyu
  Displaying Data in WebBrowser VicDesigns 10 33,606 08-01-2011, 11:32 AM
Last Post: brandonio21
  Update Data Tabel From Edit mfbf 1 8,541 07-30-2011, 12:54 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)