Using php

Alain Farmer alain_farmer at yahoo.com
Tue Feb 17 19:59:07 EST 2004


Hello,

> I need to be able to "get" what is displayed,
> not the raw HTML behind it.

You are in quite a pickle in this case because
MetaCard cannot display raw-HTML as "what is
displayed" in a HTML browser. As I've suggested many
many times to Scott, we would need is a player
component in the MetaCard-engine, so that can display
HTML. Btw, given that *FreeCard* is being programmed
in Java, it'll be able to display HTML inside a
HTML-player component, and we will be able to embed a
FreeCard stack in a web page, as we would embed a Java
applet.

> Barring that, the only solution would be to have
> a text file or HTML page that's actually updated,
> not temporarily for one view, but permanently.

I am not sure *exactly* what you mean but, following
up on what I think you're saying, you can download the
raw HTML (with the "get url" syntax), make the changes
you wish, then upload the file to the server
(replacing the former one). This final step could be
accomplished with the PUT method, or by FTP, from
within MC/Rev of course.

OTOH, if you resort to a CGI program/stack instead of
a PHP solution, then you can make your CGI return
whatever you script it to return. Your CGI can,
therefore, return just the data you need, without
*any* un-necessary HTML clutter.

Have I been helpful?

Alain

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools


More information about the metacard mailing list