Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Blog on website

53 views
Skip to first unread message

@harborcomputerservices.net > <ted<removeme>

unread,
Jan 9, 2006, 10:50:03 AM1/9/06
to
I am creating a website, and I have a blog through a separate website. I
want my blog entries to be posted on my website automatically. Unfortunately
I am a novice at creating websites, and with blog readers. I am using
Frontpage 2003 for the website I am creating, and the blog is at Blogger.com.
I think it is as simple as setting it up as an RSS feed, but I do not know
how to get the reader to be part of my site. Any help would be greatly
appreciated. Thanks in advance! Ted(remove-me)@harborcomputerservices.net
--
Ted Kinczkowski
Technology Consultant
Harbor Computer Services

clintonG

unread,
Jan 9, 2006, 12:42:30 PM1/9/06
to
Requires significant programming skills. Likely not even possible with
blogger.com.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"HarborTed @harborcomputerservices.net>" <ted<removeme> wrote in message
news:6C6861D1-F386-431F...@microsoft.com...

Steve Easton

unread,
Jan 9, 2006, 7:44:30 PM1/9/06
to
This worked for someone a while back.

Create a new page in your website with an IFrame.
Load the blog page into the IFrame.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer


"HarborTed @harborcomputerservices.net>" <ted<removeme> wrote in message
news:6C6861D1-F386-431F...@microsoft.com...

Nicholas Savalas

unread,
Jan 10, 2006, 12:09:51 AM1/10/06
to
Dear Ted,
Ignore the ignorant and fearful; with ASP, everything is as simple as pie.
Here is the code for a new page you must create - the RSS feed "gatherer"
page (save it as, say, inc_rss.asp):
------------------------------

<%
Response.Expires = -1

FEEDSRC_RSS = "http://example.com/rss.xml"

MaxNumberOfItems = 10 '----------set to number of entries to show from feed

MainTemplateHeader = "<table>"
MainTemplateFooter = "</table>"

Keyword1 = "" '---------------keywords for display from feed
Keyword2 = ""

ItemTemplate = "<tr><td><a target=blank href=" & """{LINK}""" &
">{TITLE}</a><BR>{DESCRIPTION}</td></tr>"

ErrorMessage = "Data error from feed: " &FEEDSRC_RSS & "<BR><a
href=""mailto:ad...@example.com"">Please inform the webmaster.</a>"

Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP.3.0")
xmlHttp.Open "Get", FEEDSRC_RSS, false
xmlHttp.Send()
RSSXML = xmlHttp.ResponseText

Set xmlDOM = Server.CreateObject("MSXML2.DomDocument.3.0")
xmlDOM.async = false
xmlDOM.LoadXml(RSSXML)

Set xmlHttp = Nothing

Set RSSItems = xmlDOM.getElementsByTagName("item")
Set xmlDOM = Nothing

RSSItemsCount = RSSItems.Length-1

if RSSItemsCount > 0 then
Response.Write MainTemplateHeader
End If

j = -1

For i = 0 To RSSItemsCount
Set RSSItem = RSSItems.Item(i)

for each child in RSSItem.childNodes
Select case lcase(child.nodeName)
case "title"
RSStitle = child.text
case "link"
RSSlink = child.text
case "description"
RSSdescription = child.text
End Select
next

If (InStr(RSSTitle,Keyword1)>0) or (InStr(RSSTitle,Keyword2)>0) or
(InStr(RSSDescription,Keyword1)>0) or (InStr(RSSDescription,Keyword2)>0)
then

j = J+1

if J<MaxNumberOfItems then
ItemContent = Replace(ItemTemplate,"{LINK}",RSSlink)
ItemContent = Replace(ItemContent,"{TITLE}",RSSTitle)
Response.Write Replace(ItemContent,"{DESCRIPTION}",RSSDescription)
ItemContent = ""
End if
End If

Next

if RSSItemsCount > 0 then
Response.Write MainTemplateFooter
else
Response.Write ErrorMessage
End If

%>

--------------------------------
Remember to change "example.com" above to your site, and the FEEDSRC_RSS to
the xml location. Save it as inc_rss.asp - the last step is easy. Anywhere
you want to display your feed, just include this code:
--------------------------------

<!--#include virtual="inc_rss.asp" -->

---------------------------------
like this:
---------------------------------

<html>
<head>
<title>My Feed</title>
</head>
<body>
<!--#include virtual="inc_rss.asp" -->
</body>
</html>

-----------------------------------------
Make sure that the page you use the feed on has an extension of ".asp",
like default.asp - .htm extensions don't execute asp code. You can rename
any htm page to asp without problems on an IIS server. Good luck, Theodore.

Nicholas Savalas
http://savalas.tv
------------------------------------------

"HarborTed @harborcomputerservices.net>" <ted<removeme> wrote in message
news:6C6861D1-F386-431F...@microsoft.com...

@harborcomputerservices.net > <ted<removeme>

unread,
Jan 11, 2006, 8:31:06 AM1/11/06
to
Thanks! I will try this and let you know how it works!

--
Ted Kinczkowski
Technology Consultant
Harbor Computer Services
0 new messages