Embedding LJ with ASP

Mar 18, 2002 09:15


Title
Embedding LJ with ASP
Short, concise description of the idea
Using a component of Internet Explorer it is possible to embed your LJ on your site without the need for ActiveState PERL.
Full description of the idea
Internet Explorer 5.0 is a standard component of Windows 2000. Internet Explorer installs a component called the Microsoft XML ( Read more... )

embedding, § implemented differently, documentation

Leave a comment

Comments 5

neilco March 18 2002, 09:17:49 UTC
SORRY!! The source code should read like this:

<%
Dim xmlHTTP

Set xmlHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
Call xmlHTTP.Open("GET", "http://www.livejournal.com/customview.cgi?username=test&styleid=101")
Call xmlHTTP.Send()
If xmlHTTP.Status = 200 Then
Response.Write(xmlHTTP.ResponseText)
End If

Set xmlHTTP = Nothing
%>

Reply


dragonvpm March 18 2002, 09:49:37 UTC
Well, while my first reaction would be to poo-poo this since it will make it harder for some folks (e.g. those using Netscape, Mozilla, or, *gasp* non-Windows machines) to view embedded journals, I suspect that it might be more helpful to suggest that things like this be accompanied by some sort of error message and/or a redirect to the non-embedded journal...

Reply

halkeye March 18 2002, 10:15:25 UTC
Uh
ASP is server side
Doesn't matter what browser you are using

This would be for anyone who had a paid account wanting to put it on thier own webpage...

Reply

dragonvpm March 18 2002, 11:05:51 UTC
Sorry my bad. I didn't notice that it specified server.

I think my comment might make more sense as it's own suggestion (which will be posted later once I check to make sure no one else has made it).

Reply


Client-side equiv.? No problem! Cross-browser? No problem! neilco March 18 2002, 14:56:58 UTC
If you need the code to do a client-side pull, say so. I can it do cross-browser stylie. You want error trapping? Try JavaScript's exception handling. That's what I use! (BTW, I rarely do ASP in VBScript...)

Reply


Leave a comment

Up