Embedding asp.net content elsewhere

  • Thread starter Thread starter Kurious Oranj
  • Start date Start date
K

Kurious Oranj

This may seem like a simple question to ask...

I'm working on something that's going to have a centralised admin
function and also allow users to embed a snapshot of their content on
their own sites (which may run PHP, PERL or whatever).

In other words, I want to deliver a page, but without the HTML header
information, just a table and maybe some other markup

What are the best options for this? I see it as:-

- Create a page which takes login/password query string. This would
include userid, password and so forth and be done as an include so that
the user wouldn't see the details. The .aspx page would then just write
out using response.write to create the html they need.

- A web service returning XML that they can reformat.

I'm thinking the users may be using things like php, so not sure about
the 2nd option. Am I on the right lines with the first one?

Thanks
KO
 
don't try and re-parse exisiting pages, it will be a total headache. Take
the easy way out and load the remote page inot an iframe, that way at least
you dont have to worry about javascript, css etc.

Of course you could always grab a thumbnail of the remote rendered page and
show that instead, I've seen it dont on the web before (the thumbnails) so
the code should be around somewhere. I would go for the first option.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
 
Back
Top