weather plugin question or maybe a suggestion
Started by riow


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


5 posts in this topic
shapeshifter
Senior Member
****


0
658 posts 24 threads Joined: Sep 2002
12-15-2003, 08:23 PM -
#4
Quote:BTW, could you pls tell me how to add a delim to represent end of line?

As far as I know, all whitespace (spaces, tabs, line feeds etc.) are ignored when parsing HTML, regardless of which program (web browser, weather monitor) is doing the parsing. There are lots of ways to force the display to begin on a new line, such as
, <hr>, enclosing the content in

tags, or creating layers. Fortunately, all of these methods will give you a non-whitespace character you can use as the delimiter. Unfortunately, you'll need to look at the code to determine which character is appopriate. In general, however, "<" works well, since that's what all HTML tags begin with.

If you are having problems, please post a link to the page you're parsing, and the text you wish to extract.


Messages In This Thread
[No subject] - by riow - 12-13-2003, 07:49 AM
[No subject] - by shapeshifter - 12-13-2003, 09:36 AM
[No subject] - by riow - 12-15-2003, 07:44 PM
[No subject] - by shapeshifter - 12-15-2003, 08:23 PM
[No subject] - by riow - 12-15-2003, 08:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)