{"id":191,"date":"2003-11-18T10:58:26","date_gmt":"2003-11-18T10:58:26","guid":{"rendered":"http:\/\/www.redeaglespirit.com\/blog\/?p=191"},"modified":"2003-11-18T10:58:26","modified_gmt":"2003-11-18T10:58:26","slug":"mtrssfeed","status":"publish","type":"post","link":"https:\/\/www.redeaglespirit.com\/blog\/mtrssfeed\/","title":{"rendered":"mt-rssfeed"},"content":{"rendered":"<p>with blogrolling getting hacked the other day, it motivated me to put something in motion here that I&#8217;ve wanted to do for a long time, I&#8217;d had it bookmarked for a while, but was worried I would fubar my MT install, or that it was beyond my abilities&#8230;<br \/>\nthankfully, I was wrong *s*<br \/>\nI used a combination of several tutorials&#8230;which I will combine here for you to use, and in case I ever have to do it again :smile<br \/>\nas usual, change the items in bold<\/p>\n<ul>\n<li>first of course, is to download <a href=\"http:\/\/www.mplode.com\/tima\/files\/mt-plugins\/#mt-list\">mt-list<\/a> and <a href=\"http:\/\/www.mplode.com\/tima\/files\/mt-plugins\/#mt-rssfeed\">mt-rssfeed<\/a> and extract the files<\/li>\n<li>open the mt-rssfeed.pl file in whatever text editor you use, you will (probably) need to edit this line<br \/>\n# my $RSSFEED_DATA_DIR = &#8220;.\/db\/&#8221;;<br \/>\nto something like<br \/>\nmy $RSSFEED_DATA_DIR = &#8220;\/home\/<b>redeagl<\/b>\/public_html\/mt\/db\/&#8221;;<br \/>\nif you are using a mysql install, you will need to add a &#8216;db&#8217; folder in your MT instilation&#8230;if not, you will probably want to not have this in the same db folder that the rest of your MT uses. (ps, don&#8217;t forget to uncomment the beginning of the line)<\/li>\n<li>upload mt-list and mt-rssfeed into your plugins folder in MT<\/li>\n<li>upload LP.pm (with the mt-rssfeed download) into yourMTdir\/extlib\/XML\/RSS, if you don&#8217;t have this folder, create it using this path.<\/li>\n<li>in MT, create a new index template, (I&#8217;m using the same layout as my main page) in the &#8216;body&#8217; part insert this code<br \/>\n<blockquote><p>\n&lt;MTList name=&#8221;feeds&#8221;&gt;<br \/>\n&lt;$MTInclude module=&#8221;<b>feeds<\/b>&#8220;$&gt;<br \/>\n&lt;\/MTList&gt;<br \/>\n&lt;MTListLoop name=&#8221;feeds&#8221;&gt;<br \/>\n&lt;MTRSSFeed&gt;<br \/>\n&lt;a href=&#8221;&lt;$MTRSSFeedLink$&gt;&#8221;&gt;&lt;$MTRSSFeedTitle$&gt;&lt;\/a&gt;&lt;br\/&gt;                &nbsp;&nbsp;&lt;MTRSSFeedItems lastn=&#8221;<b>2<\/b>&#8220;&gt;<br \/>\n&nbsp;&nbsp;*&lt;a href=&#8221;&lt;$MTRSSFeedItemLink$&gt;&#8221;&gt;&lt;$MTRSSFeedItemTitle$&gt;&lt;\/a&gt;&lt;br\/&gt;<br \/>\n&lt;\/MTRSSFeedItems&gt;<br \/>\n&lt;\/MTRSSFeed&gt;<br \/>\n&lt;\/MTListLoop&gt;<br \/>\nSyndicated using &lt;a href=&#8221;http:\/\/www.mplode.com\/tima\/files\/mt-plugins\/#mt-rssfeed&#8221;;&gt;mt-rssfeed&lt;\/a&gt;\n<\/p><\/blockquote>\n<p>now you will notice, this uses a module, if you don&#8217;t wish to use a module where<br \/>\n&lt;$MTInclude module=&#8221;feeds&#8221;$&gt;<br \/>\nis, simply replace with the .xml url<\/p>\n<blockquote><p>example:<br \/>\n&lt;MTList name=&#8221;feeds&#8221;&gt;<br \/>\nhttp:\/\/www.redeaglespirit.com\/us_here\/index.xml<br \/>\nhttp:\/\/www.redeaglespirit.com\/album\/index.xml<br \/>\nhttp:\/\/justjet.redeaglespirit.com\/JJ\/index.xml<br \/>\nhttp:\/\/justjet.redeaglespirit.com\/speedbump\/index.xml<br \/>\nhttp:\/\/www.redeaglespirit.com\/lifesongs\/index.xml<br \/>\nhttp:\/\/arrrgh.redeaglespirit.com\/index.xml<br \/>\nhttp:\/\/tbone.redeaglespirit.com\/index.xml<br \/>\nhttp:\/\/homeslice.redeaglespirit.com\/index.xml<br \/>\nhttp:\/\/justjet.redeaglespirit.com\/album\/index.xml<br \/>\n&lt;\/MTList&gt;<br \/>\n&lt;MTListLoop name=&#8221;feeds&#8221;&gt;<br \/>\n&lt;MTRSSFeed&gt;<br \/>\n&lt;a href=&#8221;&lt;$MTRSSFeedLink$&gt;&#8221;&gt;&lt;$MTRSSFeedTitle$&gt;&lt;\/a&gt;&lt;br\/&gt;<br \/>\n&lt;MTRSSFeedItems lastn=&#8221;<b>1<\/b>&#8220;&gt;<br \/>\n&nbsp;&nbsp;*&lt;a href=&#8221;&lt;$MTRSSFeedItemLink$&gt;&#8221;&gt;&lt;$MTRSSFeedItemTitle$&gt;&lt;\/a&gt;&lt;br\/&gt;<br \/>\n&lt;\/MTRSSFeedItems&gt;<br \/>\n&lt;\/MTRSSFeed&gt;<br \/>\n&lt;\/MTListLoop&gt;<br \/>\n&lt;p&gt;Syndicated using &lt;a href=&#8221;http:\/\/www.mplode.com\/tima\/files\/mt-plugins\/#mt-rssfeed&#8221;&gt;mt-rssfeed&lt;\/a&gt;&lt;\/p&gt;\n<\/p><\/blockquote>\n<\/li>\n<\/ul>\n<p>this is exactly the way I&#8217;ve got it set up on <a href=\"http:\/\/www.redeaglespirit.com\/blog\/\">my site<\/a>, the <a href=\"http:\/\/deanmckenzie.org\/howtofeed.txt\">tutorial I used<\/a> also gave instructions how to do it with part of the post included, I didn&#8217;t want to have all that in mine&#8230;your miliage may vary :smile<br \/>\nthe last thing I did was set up a cron job, so it would rebuild every hour and let me see when someone has posted (which was my main purpose for having blogrolling!)<br \/>\n\/usr\/bin\/prl \/home\/<b>redeagl<\/b>\/public_html\/mt\/mt-rebuild.pl -mode=all -blog_id=<b>1<\/b><br \/>\nobviously you will have to change the blog id, and your path to Perl if different, and absolute path&#8230;if your server allows cron jobs (my old one did not!) which if this is the case with you, manual rebuild is the way you will have to go :sad<br \/>\nlast but not least, if you need any help let me know *s* if I can, I&#8217;d be happy to!!<br \/>\nhave fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>with blogrolling getting hacked the other day, it motivated me to put something in motion here that I&#8217;ve wanted to do for a long time, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-old-us-here-posts"],"_links":{"self":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":0,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}