473,378 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Automatically Including Outside Web Content from Another Site

Hi,

I'd like to know how you would include updated blog posts in html?
I assume it uses an RSS feed of some sort... but what kind of code is
needed to automatically retrieve the updates from other sites and
include them on one single web page?

(For instance, I want to "include" someone else's web content on my
page as "here's the latest from so and so:" and then you could read
whatever is retrieved from that URL.)

An example I'm talking about is the way news sites offer the news
headlines in a java script box for websites. The web owner just puts in
one code and the headlines are automatically updated by the news
agency... How do I do that or find a template code to change with my
custom information?
Thanks,
BJ

Jul 23 '05 #1
2 1147
ca**************@hotmail.com wrote:
I'd like to know how you would include updated blog posts in html?
I assume it uses an RSS feed of some sort... but what kind of code is
needed to automatically retrieve the updates from other sites and
include them on one single web page?
I use rawdog but Planet is also popular.
http://offog.org/code/rawdog.html
http://www.planetplanet.org/

You can also do things in most server side programming languages.
http://search.cpan.org/~tima/XML-RAI-1.2/lib/XML/RAI.pm
http://magpierss.sourceforge.net/
http://java.sun.com/developer/techni...rss_utilities/
(For instance, I want to "include" someone else's web content on my
page as "here's the latest from so and so:" and then you could read
whatever is retrieved from that URL.)


You can't do this with JavaScript in the typical browser environment (unless
the JavaScript itself is provided by the third party), since cross-domain
scripting is a no-no.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #2
Thanks for that info. I'll do some reading up on it.

Basically, here's where I want to apply it:

I have a blogger.com site, but i also have a domain and the blog is not
the main focus for my domain. I would like to have the latest posts
show up on the front page of my domain as a preview of "what's new"
from the blog. Meaning: when I add a blog post to the blogger.com
website, and therefore update my rss feed, i want my home page (my
domain) to automatically reflect the recent changes on the blog and
include the recent post on the home page.

Also - another use I'd like to use it with is... with a xanga site
(another blogging site). I have an extensive blogger.com site already
established and I don't want to move to xanga.com However, I think
xanga has some better search and community characteristics and I want
to be listed there for double exposure. Can I put something on the
xanga site that will automatically "grab" the posts from blogger.com
when new posts become available? (So that, in essence, I've got two
identical blogs going on but I only write to or update one).

And... I'm not a java programmer. I do html and am limited with
programming knowledge in general.

Any ideas or basic codes I can steal and modify?

Thanks...

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jordan | last post by:
I'm using the Server.Execute method to include a static page inside a dynamic database call. This static page is not a valid HTML page (i.e. lacking <body>,<head>, etc. elements), but I'm pulling...
5
by: Astra | last post by:
Hi All Could you please confirm whether it is possible to include an include file, which is on another site, but still on the same set of web servers. I want to upload a default paeg to a...
0
by: Hans | last post by:
I have an asp site which I try to bet unicode compatible (UTF-8 codepage=65001). In the site a user can upload documents and I store the document on the server in a database. I also store the...
4
by: Alexander Widera | last post by:
How can I include an usercotrol into an other usercontrol... for example: <UserControl:First runat="server" id="firstUC" content="..." /> and i want to refer an other UserControl (e.g. called...
0
by: neoteny2 | last post by:
I need MS Access to automatically create reports/subreports based on specific criteria. I am building a database in Access 2003 with different locations/sites. I have the "sites" table created...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box...
1
by: Martin Mücke | last post by:
I got a website consisting of about 150 php pages. The site uses a frameless table based design. Header and menu are always the same and therefore should be extracted. At the moment I got a...
5
by: itfetish | last post by:
I have made an electronic sign out book for my office in ASP using VBScript. Problem is, when there is a fire we need to check who is out and who is burning. I have been trying to think of how...
1
by: Cramer | last post by:
Using 3.5: Suppose I have defined 20+ themes (including multiple graphics, ..skin files, and css files per theme), and I want to make those themes *available* to all the Web sites on my Web server....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.