![]() |
|
![]() |
|||||||||||
![]() |
![]() |
||||||||||||
|
Using the Microsoft.XMLHTTP component Contributed by: Pavel Titov This is an easy way to embed your journal using the Microsoft.XMLHTTP component and IIS. <%
Response.Buffer = True
Dim xml
' Create an xmlhttp object:
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
' Or, for version 3.0 of XMLHTTP, use:
' Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
' Opens the connection to the remote server.
xml.Open "GET",
"http://www.blurty.com/customview.cgi?username=username&styleid=101",
False
' Actually Sends the request and returns the data:
xml.Send
Response.Write xml.responseText
Set xml = Nothing
%>
Using PerlScript Contributed by: Ansley Ingram Here is how to embed your LiveJournal on your site using ASP and PerlScript. Note Unfortuately, many WinNT hosting providers don't offer PerlScript. PerlScript is included in the ActivePerl installation for NT from ActiveState. <%@language=perlscript%>
<%
use LWP::Simple;
$Response->Write(get 'http://www.blurty.com/customview.cgi?' .
'username=username&styleid=101');
%>
* |
| © 2002-2008. Blurty Journal. All rights reserved. |