thanks for the rapid reply and the legal feedback.
I thought so, to be honest.
That's if one treats this cleanly and not "laissez-faire".
I want to be straight and not promote abuse.
However, I will only be in the position of a middle-man.
The idea is to provide the generic framework for setting up "New HTML tags" that are capable of pulling a piece of data from a remote site.
That would mean that the ultimate responsibily is that of the end-user.
I understand, that it is my job to make clear that Copyright and possibly other legal issues are to be respected. It is then up to the end-user to treat the technology responsibly.
Would you agree on that?
Reading between the lines of your post, I would infer, that you think that it is technically not much of an issue.
In PHP, I can think of at least one way:
- Pull complete HTML of the page
- Feed this into the DOMDocument class
- Filter out the DIV by ID and pull it's "innerHTML"
(PHP provides a small add-on class in conjunction with DOMDocument, I already use, for "innerHTML")
Does anyone agree vaguely, that the above pseudo-code would work?
Definitely the legal stuff is to be taken more carefully.
As a rule of thumb, for most use-cases, it would probably be sufficient to provide attribution of Copyright to the source page, as a footer note, right?
(say I would like to provide a couple of example-tags, like e.g. "Dow Jones!" - please see my website http://4nf.org/ for details on these tags)
Any other ideas, whether technical or legal?