Help - Search - Members - Calendar
Full Version: Different Blog Installation
Movable Type Community Forum > Additional Resources > Plugin Development and Usage
gumboyaya
Since Multiblog is not meant to pull post from a blog on a different installation of Movable type, I need to find another method.

Here is what I have. I have an installation of Movable type that I am using as a primary website. My friend has a different installation of movable type on her on domain. I would like to provide excerpts of her posts (possibly in a sidebar) with a link to the full entry.

Can this be done ? Possibly using Feeds or a plug in? She has her rss and xml feeds enabled so I am willing to work with those if I can just get a point in the right direction. A plugin that would let me do this (with or without feeds) would also be very welcome.

Thanks.
jayseae
You don't really need a plugin, or even rss. You can just use PHP:

CODE
<?php include 'http://www.sample.com/file.inc'; ?>

On your friend's web site, just publish "file.inc" to the appropriate place so that you can include it.

You may need to speak with your host, as some turn off using URLs in include statements. In that case, you might need to do something else. But it is by far the easiest way to go about doing it.
gumboyaya
I'm not familiar with PHP at all. Like imagine you are talking to a 7 year old.

1. I assume the code snippet you gave me goes in my template?
2. How do I tell my friend's site to publish the file to a new location for inclusion?
3. Is there any additional code that she would need to include on her site for this to work?

Thanks in advance.
jayseae
Your friend just creates a template, like any other template, and publishes it (somewhere). Wherever (somewhere) is, that's where you'll go get it. Before you go to this trouble, however, you may want to check with your host to see if it's allowed. They would be likely to know.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.