Help - Search - Members - Calendar
Full Version: Recent Entries list from one blog on another
Movable Type Community Forum > Additional Resources > Tips and Tricks
MattMend
Ok. Let's see if I can explain this clearly. I have two MT blogs. I have a link from the first to the second. On the first blog, under that link to the second blog, I'd like a recent entries list referring to recent entries on the second blog. Is this doable?

Thanks -

Matt
nammer
Oh, goodness, yes. biggrin.gif You could try the OtherBlog plugin (that's probably the easiest), or if your site uses PHP or SSI, you can create a new index template in the blog that the information will be coming from
CODE
<MTEntries lastn="3">
<a href="<$MTEntryLink$>#<$MTEntryID pad="1"$>"><$MTEntryDate format="%B %e, %Y %I:%M %p"$></a>  <$MTEntryExcerpt$> <br><br>
</MTEntries>
<br>


No DOCTYPE, no HTML, just the plain-vanilla MT tags. This makes the date a link to the entry and shows the entry excerpt; you could take the excerpt out and replace the date with the title tag. I include this using PHP in the destination blog's sidebar. See an example of this template in the sidebar here.

Does that help?

Donna
MattMend
I tried to look at your example site but it never loaded. Browser said it couldn't be found. The code above doesn't seem to indicate how the entires are from the other blog and not the one the code is posted on. I'll try the otherblog plugin and see what happens.

Thanks -

Matt
MattMend
Odd. I can't reach mt-plugins.org either. Perhaps some net trouble since I can get to other sites such as CNN and Google.
bmk
Yeah I guess it's down right this second, try later. (though I can reach cnn and google still)
MattMend
I tried the OtherBlog plugin and it works great. Thanks very much for the help!
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-2009 Invision Power Services, Inc.