Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Parse feeds to create Movable Type entries
Perl
Branch: master
Pull request Compare This branch is 4 commits ahead of edefrutos:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
plugins/reblog
README.txt

README.txt

# Reblog Overview

Reblog is a Movable Type plugin that parses Atom and RSS feeds and transforms feed entries into MT entries. Imports can be run either manually or in the background using run-periodic-tasks.

# Prerequisites

Movable Type 4.25 or greater. This plugin has been tested on 4.37 successfully.

Beyond the CPAN modules included in MT's extlib directory, the following modules are required:
    * DateTime
    * Date::Parse
    * Switch

Optional modules:
    * XML::Liberal
    * XML::LibXML
    * Six Apart Services' MT::Test (<http://github.com/sixapart/movable-type-test/tree/master>) for running unit tests

# Installation

After downloading this package, upload the entire /plugin/reblog directory to your /path/to/mt/plugins directory.

# Configuration

Once installed, this plugin appears under the Manage menu in each blog in two places:

Manage > Reblog
Manage > Sourcefeeds

Set up the Reblog settings found under Manage > Reblog:

   Display Editor: Provide an 'edit reblog details' interface on the edit entry screen

   Reblog Author: Author assigned to posts loaded by Reblog

   Load Frequency: How often feeds for this blog are reloaded; default is every 12 hours 

   Failed Load Threshhold: After this many consecutive failures to load a given feed, the feed will be disabled; default is 5 failures.

   Import Categories: Preserve categories found in imported entries

   Rebuild Individual Archives: Build individual archive for each new entry after importing

In addition, Reblog will obey the "Entry Status" setting under "New Entry Defaults" in Preferences > Entry Settings. If set to unpublish, Reblog will set imported entries also to unpublished. This is useful if you would like an editor to selectively publish some entries but not others or edit title or body before publishing.

# Useage

Set up the feeds you'd like Reblog to import by going to Manage > Sourcefeeds:

1. Click on "Add a sourcefeed to this blog"

2. Give the feed a label, enter the URL of the feed (fully formed with filename), and optionally, you may specify that the feed is active (meaning Reblog should import the feed) or inactive (Reblog should ignore the feed), whether Reblog should use excerpts found in the feed or if it should ignore errors.

3. Once you've added details about the feed, click "validate" to have Reblog check the feed to make sure it's ready to be imported. If the validate button turns green, you may proceed.

4. Save changes.

After you have successfully added a feed, have Reblog import the feeds by checking the box next to each feed you'd like to import, and selecting the "Import" button.

Reblog will process the feeds you have chosen, turning each new item in the RSS/Atom feed into a new entry.

# Template Tags

function:
    EntryReblogSource
    EntryReblogSourceLink
    EntryReblogSourceURL
    EntryReblogSourceLinkXML
    EntryReblogSourceFeedURL
    EntryReblogSourcefeedID
    EntryReblogLink
    EntryReblogViaLink
    EntryReblogSourcePublishedDate
    EntryReblogSourceAuthor
    EntryReblogAuthor
    EntryReblogIdentifier
    EntryReblogThumbnailLink
    EntryReblogThumbnailImg
    EntryReblogSourceTitle
    EntryReblogAnnotation
    ReblogSourceId
    ReblogSourceTitle
    ReblogSource
    ReblogSourceXMLLink
    ReblogSourceFeedURL
    ReblogSourceLink
    ReblogSourceURL
    EntryReblogEnclosure
    EntryReblogEnclosureLength
    EntryReblogEnclosureMimetype

block:
    ReblogEntries
    ReblogSourcefeeds
    ReblogEnclosureEntries
    IfReblog?
    IfNotReblog?
    EntryIfHasReblogAuthor?
    EntryIfReblog?

# License

This plugin is licensed under the GPL.

# Copyright
Copyright © 2007 - 2009, Six Apart Ltd.
Something went wrong with that request. Please try again.