NotoriousZach
Mar 20 2005, 11:52 PM
Hey I want to parse a list in a webpage.......Im not too hot with parsing overall but I figured this would be the best place to ask for help..... For example if the HTML was CODE <tr> <td>1</td><td><A target="_self" href=#><font color=#ff0000>Number1</font></a><td><font face=verdana size=2>IDNUMBER1</td>
<td><A target="_self" href=#><font color=#ff0000>Number2</font></a><td><font face=verdana size=2>61506</td><td><font face=verdana size=2>ID NUMER2</td>
If i wanted to parse that into a list box where it showed Number ID --------------- Number1 IDNUMBER1 Number2 IDNUMBER2 Hopefully you guys can make some sense of that.... CODE note by serverph to NotoriousZach: code-tagged as needed. pls comply next time. :)
Reply
Galahad
Mar 21 2005, 10:06 PM
Ok, from what I see without testing the code, I see you have 6 cells, in one row (I assume you accidentaly ommited </td> closing tags)... Now, since the columns you want, are defined in a same way, here is a sample code, that should work (I'll test it, and post back a VB code, if you want) CODE Index = 0 Position = InStr(0,"<td><font face=verdana size=2>") While Position > 0 Position = Position + Len("<td><font face=verdana size=2>") ClosingTag = InStr(Position,"</td>") Columns(Index) = Mid(HTML, Position, ClosingTag - Position) Index = Index + 1 Position = InStr(Position,"<td><font face=verdana size=2>") Wend
You then just need to go through the Columns array, and get the items you need, using some filter... NOTE: I did not test this code, I wrote it straight from the head, but it should give you some idea what to do. Send me an email if you need further help Hope this helped some 
Reply
Similar Topics
Keywords : parsing, list, webpage, webpage, parsing
- Password Protecting My Webpage
Help Needed ! Can any one assist me ? (3)
Create Dynamic Html/php Pages Using Simple Vb.net Code
Taking your application data, and creating a webpage for others to vie (1) This example will show you how use a string in VB to create PHP code. In order to do this, you need
a string to store your PHP page and a function that I will list at the bottom of the page for you to
put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
-------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
Good Freeware List
(3) Here is the list of my computer freeware - Free Download Manager (manages your download, very
reliable) - Moyea FLV Downloader (you can download FLV files form ANY sites!! Not only
youtubes) - AVG 7.5 (free anti virus) - Audacity (free tools for audio, we can cut or paste and
adjust audio files) - OpenOffice (free office application) - Vista Transformation Pack (create vista
style in windows xp desktop) All freeware are greats....
Top 10 Geek Ways To Beat Boredom
My list. What's yours? (12) My Top Ten recommendations for what geeks can do to stop getting bored... 1. Visit a humorous
website. My recommendation: Computer Stupidities - http://www.rinkworks.com/stupid/ 2. Download
a new computer game Linux: http://www.happypenguin.org Windows / DOS: http://www.pcgaming.ws
Mac: http://www.macgamesandmore.com/best_freeware.html For the record, my geek-game recommendation
would be nethack: http://www.nethack.org 3. Build something in 3D For this I recommend Blender.
It's a big program to learn, but well worth it. Download from: http://www.b....
List Of Free Games
(With Descriptions) (9) Ok, so I was told that the other list of games was no good because it was just a list. I am going to
start a list now that will include the descriptions so the posts will have substance. This list can
be added to by everyone, but let's use this format: Name: Website: Type: (FPS, RPG, RTS
etc.) Players: (Single- or Multi-Player) Description: Here are a couple that I am playing now:
Name: Combat Arms Website: http://combatarms.nexon.net Type: First-Person Shooter Players:
(Massively) Multi-Player Description: This game is a lot like Soldier Front....
Looking For A Free Rss Reader To Publish Feeds On My Webpage
(1) i have carp and it's been working for me but later versions are no longer free. any good free
ones out there to allow me to post feeds on my website? ....
Ameran Portals?
A list is needed! (1) Listen. guys! Could you post American portals or forums, I really need it! List as much you
can, but keep in mind I need those portals or forums which contain topics such as movies, music, and
so on. Waiting for you reply.....
Using Unknown Fonts For Text In Webpage
(5) Example(Click) The concept behind this article came a few days ago when I was chatting in the
shoutbox here. I was thinking about whether we could include fonts (.ttf) on server and with the
help of some frameworks we could display text in browser. Unfortunately, after much chatting and
pleasing google (it just didn't show any mercy that day), I finally understood its not possible.
I actually wanted headings (h1, h2... you get it?) in a webpage to use a nice font which I have.
The problem is visitors won't have that font installed in thier system. The secon....
A List Of Animals And Their Meaning
Like the title says (1) This is a LONG list of animals and their Meanings! ^.^ Hope U like it!
Alligator - aggression, survival,
adaptability Ant- team player, worker Armadillo - active, nocturnal, protection Bat - guardian of
the night, cleaner Bear - power, adaptability Bear Paw - strength, mobility Beaver - builder, gather
Bobcat - fierce, loner intensity Brontosaurus - harmless giant Buffalo - sacredness....
Database Or Pdf
Best way to list books on my site (3) Hi all, I am not sure if this is the right place to post but I'm sure you'll tell
me if it's not. My problem is this: I have a website where I sell books and it's one of
those simpleton sites where I don't need to know code, I just click icons etc Anyway, I can
upload images to the server and need to have them in different resolutions and link from a thumbnail
to the larger picture. What I am trying to say is I have about 6000 books to display on my
website which is impractical as it takes me about 10 mins to load 1 copy. What is the ....
Recommended List Of Money Making Sites
A list of 10 sites from which easy money can be made (0) I just want to let everyone know I have updated my list of money making websites and in my opinion
the 10 listed are the most reliable and honest money making sites that are free to join available.
Please review this blog and let me know what you think http://makeeasymoney247.blogspot.com ....
Please Can You Review My Blog
List of recommended sites for making money online (3) I am currently in the process of constructing a list of the best sites through which to make money
online and would like people to take a look at the sites I have added so far. I am obviously still a
long way of completing it but just wondering whether people think it is a good site / idea
http://makeeasymoney247.blogspot.com Also if you have not yet signed up to ClixSense I would
highly recommend it. You can join for free but you are better of paying the small $10 yearly
membership fee as this will bring you a ton more paid adverts - more than any other site I ....
Arrays And List Boxes
VB6 Codes needed (2) Hello Guys, I am working on an application. It is such that there are 2 list boxes or combo boxes.
One is Labeled Departure and the other is labeled Destination. The boxes contain various states in
America and each state has its unique feature of distances. The difference of the distances has to
be reflected on a label. Where I need help is a code to execute the contents of the array into
values For instance: Option Explicit Private Type Stateinfo statedeparture as integer
stateDestination as integer TotalDistance as integer End Type Dim StateDistance ....
How To Make An Ultimate Game List.
If you're making a site on video games or such. (0) Hello. I am BuBBaG. You can call me Bubba for short. I'm going to show you how to make an
Ultimate Game List. First off, we need to make a database, we are going to call this database
`my_db`, leave out the `'s. Inside that database we will need to create a table
called `ugl'(Ultimate Game List, duh). To make the table, simply enter this in the Syntax.
CODE CREATE TABLE ugl ( System char(50), Game char(50), ) In the
above code, it is stating we are creating a table called ugl, with two columns, System, and Gam....
Flash Media Into Html/css Website
does anyone know how to import a flash into a webpage with transparenc (1) Hi I need some help , Im designing this website for school studies However, I made a flash drop down
menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
For example my flash is width= 800, and height = 200 but my div box on my html page for my
navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
animations i want to insert it into my navigation div box but i want to set the flash background to
transparent so that when the drop down menu comes down it overlaps the text or whateva....
Program List
(4) Ever forget what the program is? My friend made this list a while back at another forum and I have
had it on another forum sitting there, maybe you will get some use from it. QUOTE 3D
Graphics: 3Delight Free - http://www.3delight.com/index.htm Anim8or - http://www.anim8or.com/
Blender - http://www.blender3d.org/ gmax - http://www.discreet.com/products/gmax/ Houdini
(Free Edition) - http://www.sidefx.com/apprentice/index.html Now3D -
http://digilander.libero.it/giulios/Eng/homepage.htm OpenFX - http://www.openfx.org POV-Ray -
http://www.povra....
Posts To Mailing List Are Blocked
Every post to the mailing list returns a Delivery failure notice. (1) The mailing list appears to be intact but every attempt to post to it receives a Delivery failure
notice. Here are 2 examples from 2 different emails. QUOTE
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ---------------------------------EXAMPLE
NOTICE #1--------------------------------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This is an automatically generated Delivery
Status Notification Delivery to the following recipient failed permanently:
future@renaissance.trap17.com Technical details of permanent failure: PERM_FAILURE: Gm....
Can Anyone List Some Good Urls For Photoshop Brushes?
(5) I've been dying to find some good brushes. But all the ones I can find are on deviantart.com but
they aren't exactly what I'm looking for. I'm looking for different types of brushes
like brand types, peace signs, flowers and stars. Do you guys know any other good sites where I can
find these brushes? Thank You So Much! If you want, you can help post some sites for other
types of brushes that you enjoy using!....
List Of Free Directories To Submit Your Websites
(7) Hi: Submission in free directories is a world-known way to increase ranking and traffic. But most
of you don't know a good source of that list of directories. Here is a great source of free
directories list . Just start submission in those directories in your free time, and see you
ranking.......
157 Of The Best Free Software On The Net
Freeware Software List (7) I nearly had a heart attack when I saw this e-magazine (PC Magazine) on a website that will remain
nameless just because of the nature of this website. Anyway with my wonderful pdf extracting skills
I cut the pages down, and if all goes well the links to the original article should still work. So
what kind of software are we talking about well I put it like this you might already have them,
software covers Operating Systems, Antivirus/Anti-Malware, Firewalls, Security, Finance, Office,
Calendar/PIMs, Backup/Sync, App Launchers, Utilities, Downloads, Interface Enhanceme....
Data Structures -- Linked List -- Reverse
Reverse a linked list (4) Give an algorithm to reverse a linked list with a time complexity of O(n) and minimal space
complexity. What is a linked list? Search trap17.com. i Have already answered this question in
one of my older questions. Solution 1 Here is one simple solution... CODE Void
ReverseList(node* head) { node *temp,*current,*result; temp=null; result=null;
current=head; while(current!=null) { temp=current->next;
current->next=result; result=current; current=temp; }
head=result; ....
Data Structures -- Linked List
Find the nth last element in linked list. (8) Given a linked list, find the 5th last element with Time complexity O(n) and minimal space
complexity. Note: If you know the answer and if you feel it is simple also please post the
answers so that others will come to know about the answers. What is a linked list?? /* this is for
your further reference and reading */ QUOTE In computer science, a linked list is one of the
fundamental data structures, and can be used to implement other data structures. It consists of a
sequence of nodes, each containing arbitrary data fields and one or two references ("links") po....
Free Sms Site
List of free SMS sites (5) I start this topic for us to post free sms working site. If anyone of us have a free sms site that
works, don't hesitate to post it here! Thank to all of you to participate. /wink.gif"
style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> EDIT--- Kindly give
description about the SMS site, if possible :-)....
A List Of Great Movies!
(160) Ok, muy favorite movies are: Butterfly Effect Pirates of the Caribbean (The curse of the Black
Pearl) Titan AE....
Need Help With Using Css
to format a SELECT list (11) I thought I had Cascading Style Sheets (CSS) pretty much under control, but this has me stumped.
What I want to do is format a SELECT drop-down list with a drop shadow as a background image,
similar to what I have done with the textarea shown below. As you can see, I can't it get to
work on the drop-down box. I can change the font color, font type, width and background color but
I can't seem to use a background image like I can for an INPUT box. I have tried various things
without success, can someone please show me a working example of where they have managed....
A List Of Awesome Free Fps'
(first person shooters) (29) Ok, so here's an awsome list of some free first person shooters that AREN'T CRAP. These are
actually made by the pros. these are for all PC OSes. Wolfenstein - enemy territory Nexuiz
America's Army- special forces Counter Strike edit: I'm dumb. Legends ....
Auto Webpage Resolution Format
Viewing Problem Help Needed Please (7) Hi, my website was created with Frontpage 2003. At screen resolution 1024 * 768. Now the problem
that I am finding is people with a screen resol. 800 * 600 see the table and everything in the wrong
place and its all messed up. Is there a way to make it so the site is compatiable with all screen
resolutions. Thanx in advance for your help. Edited topic title. ....
List GMail Giveaway
(58) The following are people who are willing to giveaway their invites. If you need them, you can refer
to this list:
OrionLeingod = stoneddevil(at)gmail(dot)com
Random = boomba.is(at)gmail(dot)com
rmdort = rmdort(at)GMail(dot)com
TWIXMIX = ryan.nielson(at)GMail(dot)com
chakhei =
peter4all(at)rediffmail(dot)com or PM him
Afula = ivgenib(at)GMail(dot)com
Bandit =
bandit.mafiot(at)GMail(dot)com
Emilin =emi.babe AT gmail DOT com
nate9000 = nate9000 (AT) gmail
(DOT) com
gowron = paul(at)magielse(d0t)com
Darthbob = therealdarthbob AT gmail DOT com
TheStand
= Bren....
Getting List Of Directories And Files Using Php
PHP Function for Directory and File List (6) is there a php function that lists the content of some folder.... example: /New folder new.txt
left.gif download.zip dc.exe ....so is there..? /rolleyes.gif' border='0'
style='vertical-align:middle' alt='rolleyes.gif' /> ....
Free Classified Ads--no Hype
Regional ads with photos at Craig's List (5) Craig's List has been around forever and it just keeps getting better. There's no hype, no
popups, no banners, just legitimate ads with photos that really pull. Our son sold 2 items over
there last month. You have to renew them or they fall off and it's best to cancel and re-list
your stuff, weekly, to stay near the top. /smile.gif' border='0' style='vertical-align:middle'
alt='smile.gif' /> Craig's List ....
Looking for parsing, list, webpage, webpage, parsing
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for parsing, list, webpage, webpage, parsing
*MORE FROM TRAP17.COM*
|
advertisement
|
|