|
03-11-2004, 07:42 PM | #1 |
Green Mole
Join Date: Mar 2004
Posts: 1
|
help with grabbing text from calendar
Hello I'm trying to grab the event of the day from this link http://housing.uah.edu/simon/site/calendar/ and stick in to http://housing.uah.edu/simon/site/ you can see that it is grabing the text but I need it to shape to the curve but I have no idea how i might do it?? Split the text up?? Thanks Simon
Last edited by simonaut; 03-11-2004 at 07:46 PM. |
03-12-2004, 11:15 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi simonaut, and welcome to PhpDig.net!
The HTML in http://housing.uah.edu/simon/site/ is a bit messed. For the chunks of text that are getting added, they're enclosed in their own <html> </html> tags like so: Title of event: <!-- REPLACE WITH YOUR OWN HEADER IF YOU LIKE --> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>UAH Housing Calendar</title> <link rel="stylesheet" href="style.css"> </head> <body bgcolor="#ffffff"> <!-- REPLACE WITH YOUR OWN HEADER IF YOU LIKE --> Taco Ta-Kill-Ya</body> </html> Description of event: <!-- REPLACE WITH YOUR OWN HEADER IF YOU LIKE --> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>UAH Housing Calendar</title> <link rel="stylesheet" href="style.css"> </head> <body bgcolor="#ffffff"> <!-- REPLACE WITH YOUR OWN HEADER IF YOU LIKE --> Taco Ta-Kill-Ya</body> </html> For the title piece, just "Taco Ta-Kill-Ya" should be added, and for the description piece, just "Taco Ta-Kill-Ya" should be added (both title and description are the same on this given day). For the Calendar, Residence Halls, Housing Forms, etcetera links notice how &nbsp; is used to move the text over. The &nbsp; produces a hard space character in order to move the text over. Instead of having two tables, one for the daily event title and one for the daily event description, you might try having just one table like the one for those Calendar, Residence Halls, Housing Forms, etcetera links and move the text over using the &nbsp; hard space.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How does PhpDig epure text? | Edomondo | How-to Forum | 1 | 03-03-2005 09:17 AM |
Repeated Title and Text | marlosw | Troubleshooting | 0 | 11-04-2004 10:06 AM |
Bug in grabbing urls from the page | Konstantine | Bug Tracker | 6 | 03-25-2004 06:34 AM |
indexing only anchor text | luke | How-to Forum | 1 | 02-05-2004 08:02 AM |
spidering links but not their text | haxored | How-to Forum | 5 | 01-27-2004 05:01 PM |