FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Help with regex
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Help with regex [message #184960 is a reply to message #184956] Wed, 19 February 2014 20:32 Go to previous messageGo to previous message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma:
Senior Member
Thomas 'PointedEars' Lahn wrote:

> knal wrote:
>
>> Could you please give a little more direction on the DOM?
>
> I presume he could.

Actually, I have not yet used PHP's DOM extension. However, it should
not be too different from other DOM implementations, so basically it
comes down to load an HTML document and than use XPath to get the
desired information. The mentioned keywords should be sufficient to
search the web -- at least for some first steps.

> Ask what you want to know instead.

Is there really so much difference between directly asking the question
"How can I use the DOM here?" and asking politely for "some more
direction on the DOM"?

> Reformulating your stupid question to the smart one, “How can I use the DOM
> here?”, the answer becomes “RTFM: loadHTML”.
>
> Next time, post what you have tried before you ask. This is not free
> customer support for lazy people.
>
> <http://www.catb.org/~esr/faqs/smart-questions.html>

I also recommend to read it, if only to better understand the manner of
expression of others. Even if "RTFM" might seem to be an impolite
reply, it is not meant this way.[1]

> Not quoting anything is even worse than quoting everything because now the
> reader has nothing to refer to. That is _not_ what the two of us meant when
> we asked you to stop *top*-posting. Learn to quote.

I may add: proper quoting does not serve as an end in itself, but is
rather vital for *Usenet* (even if you, John[2], are using Google Groups
which seems to be more like a bulletin board), as not everybody might
receive, let alone read every single message. But reading a message out
of context can be confusing.

[1] <http://www.catb.org/~esr/faqs/smart-questions.html#rtfm>
[2] A good example for the missing context. Other readers might wonder
to whom I am referring, as there are only Thomas 'PointedEars' and knal
attributed to in this message.

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Career Opportunities in Singapore (PHP Tech Lead)
Next Topic: PHP script to get name of file which houses the script?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 18:30:48 GMT 2024

Total time taken to generate the page: 0.04209 seconds