[Plugin] Feed Importer
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> Plugins & Extensions
View previous topic :: View next topic  
Author Message
sam2kb
da ruski mafia

Joined: 02 Dec 2007
Posts: 2927
Reputation: 162.4Reputation: 162.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 53

PostPosted: Sat Mar 07, 2009 0:08    Post subject: [Plugin] Feed Importer Reply with quote

This plugin allows you to create posts from XML feeds. It works with all types of RSS, Atom, RDF and some other feeds.

Install the plugin, go to Tools > Feed Importer, select categories you want to import the feed in, and click "Import".

Feed Importer Free v0.2 (development has been discontinued)

Feed Importer Pro v1.3

Pro Features:
Quote:
* Import XML feeds such as RSS, RSS2, Atom and others using SimplePie parser
* Import/Export b2evolution posts including all properties, custom fields, comments and trackbacks
* Import CSV-formatted text files
* Export posts as CSV or XML files
* Scheduled import. Automatically checks feeds for new entries and creates new posts
* Multiuser interface. Access to Import and Export features according to user/group permissions
* Option to skip existing posts importing only new/missing ones
* Option to create published or draft posts
* Option to limit the number of imported posts
* Optional link back to the original post
* Custom header and footer for each imported post
* Imported feeds get saved for future use
* XML feeds manager allows you to view/enable/disable or delete saved feeds
* Imported posts get validated, misplaced tags get fixed based on group settings

_________________
Russian b2evolution | Download


Last edited by sam2kb on Mon Feb 15, 2010 19:39; edited 23 times in total
Back to top
View user's profile Send private message Visit poster's website
John
the uncertain

Joined: 22 Jun 2004
Posts: 2147
Reputation: 4.6Reputation: 4.6Reputation: 4.6Reputation: 4.6 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 27

PostPosted: Sat Mar 07, 2009 1:18    Post subject: Reply with quote

Works like a charm Sam.
I'm surprised at how fast it delivered the feed.
I also opted for the b2evolution news feed.
http://wow-factor.com/index.php?blog=3

Next is Twitter Smile

_________________
See the Sites in in Venice
Back to top
View user's profile Send private message Visit poster's website
sam2kb
da ruski mafia

Joined: 02 Dec 2007
Posts: 2927
Reputation: 162.4Reputation: 162.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 53

PostPosted: Tue Mar 10, 2009 21:26    Post subject: Reply with quote

Plugin updated, now works in b2evo 3.x

You don't have to update it if you use b2evo 2.x

_________________
Russian b2evolution | Download
Back to top
View user's profile Send private message Visit poster's website
John
the uncertain

Joined: 22 Jun 2004
Posts: 2147
Reputation: 4.6Reputation: 4.6Reputation: 4.6Reputation: 4.6 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 27

PostPosted: Fri Mar 13, 2009 20:02    Post subject: Reply with quote

@sam2kb
It would be nice to be able to add a Title/Heading to a feed page via the Plugin settings.
I added one via a hack of the blog's "Long Description:"
EG: <h2 class="bTitle">B2evolution News Feed</h2>

_________________
See the Sites in in Venice
Back to top
View user's profile Send private message Visit poster's website
Laibcoms
Expert
Expert

Joined: 27 Feb 2006
Posts: 649
Reputation: 149.3 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 9

PostPosted: Fri Mar 13, 2009 22:45    Post subject: Reply with quote

Wow, awesome, it's the most requested plugin Razz Great job there (and thanks for updating it to v3 Razz )

Going to play with it hehe... (content gallore lol)

Btw, I'd like to take this time to ask, will it read and post the content/feed license? If not, any chance of adding that feature?

_________________
Theme Conversions for v3.x
Follow me @jcsesecuneta Blog: Snow World; gameshogun; ASEAN: Asia's Perfect 10
OS: Ubuntu GNU/Linux
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sam2kb
da ruski mafia

Joined: 02 Dec 2007
Posts: 2927
Reputation: 162.4Reputation: 162.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 53

PostPosted: Sat Mar 14, 2009 2:11    Post subject: Reply with quote

John wrote:
It would be nice to be able to add a Title/Heading to a feed page via the Plugin settings.

Technically there is no feed page, there are only blogs and categories. The plugin creates new posts in existing categories, it can't change anything but posts. So if you'd like to add a header or a footer to each post I can make this feature, but editing the blog title is outside of the plugin's scope.

Laibcoms wrote:
will it read and post the content/feed license?

It can get lots of info from feeds (maybe even the license), but where do you want to display it? Again, it's only possible to create posts, feeds don't have enough info to create blogs or categories. So if you want to display this license info above or below the each imported post, I'll make this feature.

Thank you guys for testing. BTW there is a new version available in SVN which can import/export b2evo posts, so feel free to play with it ( on non-production blog Smile )

The differences between Feed and b2evo import are as follows:
- excerpts
- post type (page, link etc.)
- link to url
- tags
- correct post locale
- visibility status
- comments (open, closed etc.)
- views

Basically it'll create the exact copy of the original post except it won't keep any user-related info and a list of renderers.

So if you ever decided to merge blogs you'd love this feature Smile

_________________
Russian b2evolution | Download
Back to top
View user's profile Send private message Visit poster's website
Laibcoms
Expert
Expert

Joined: 27 Feb 2006
Posts: 649
Reputation: 149.3 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 9

PostPosted: Sat Mar 14, 2009 11:40    Post subject: Reply with quote

sam2kb wrote:
It can get lots of info from feeds (maybe even the license), but where do you want to display it? Again, it's only possible to create posts, feeds don't have enough info to create blogs or categories. So if you want to display this license info above or below the each imported post, I'll make this feature.


For the license, the end part of the post should be fine. Say the feed-post it posted is "CC By-SA 3.0 Unported", then it'll show just that. If it's an active link, then maybe an active link also. Basically, whatever license the feed provided or the post provided... so if it says something like "ABCDE" then I guess that's the license "ABCDE" (whatever kind of license is that).

So at least, we won't have an issue from the original authors, specially the Creative Commons licensed content/feed/posts.

For the categories, since not all feeds actually send categories (I only know Blogger/BlogSpot feeds that puts the categories/labels correctly in their feeds), the best way will be the ability to put a particular feed to a particular b2evo-blog category.

So say I'm feed-posting the posts of Mozilla-QA Team, the posts will be under my Mozilla-QA Category.

^_^

Haven't tested yet Razz watched Race to Witch Mountain yesterday Saturday Razz Then Sunday today here, family day. Will do later this evening or tomorrow Monday.

_________________
Theme Conversions for v3.x
Follow me @jcsesecuneta Blog: Snow World; gameshogun; ASEAN: Asia's Perfect 10
OS: Ubuntu GNU/Linux
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sam2kb
da ruski mafia

Joined: 02 Dec 2007
Posts: 2927
Reputation: 162.4Reputation: 162.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 53

PostPosted: Sat Mar 14, 2009 11:44    Post subject: Reply with quote

Quote:
the best way will be the ability to put a particular feed to a particular b2evo-blog category.

So say I'm feed-posting the posts of Mozilla-QA Team, the posts will be under my Mozilla-QA Category.

This is how it works now Wink. You can only post in existing categories.

_________________
Russian b2evolution | Download
Back to top
View user's profile Send private message Visit poster's website
Laibcoms
Expert
Expert

Joined: 27 Feb 2006
Posts: 649
Reputation: 149.3 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 9

PostPosted: Wed Mar 18, 2009 8:47    Post subject: Reply with quote

Hmm... I'm testing it for v3.1-alpha, so my suggestions below may not be applicable (so please do tell).

Suggestions:
- A link back to the original article
- A list of feeds currently active
- And a way to enable/disable each feed
- Ability to add tags perhaps?
- Ability to set how far back the initial activation will "post" (I haven't tested what will happen if I re-submit the same feed)

The CCL suggestion earlier can come later hehe Wink

_________________
Theme Conversions for v3.x
Follow me @jcsesecuneta Blog: Snow World; gameshogun; ASEAN: Asia's Perfect 10
OS: Ubuntu GNU/Linux
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sam2kb
da ruski mafia

Joined: 02 Dec 2007
Posts: 2927
Reputation: 162.4Reputation: 162.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 53

PostPosted: Wed Mar 18, 2009 19:14    Post subject: Reply with quote

Quote:
- A link back to the original article
- A list of feeds currently active
- And a way to enable/disable each feed

Good ideas Smile

Quote:
- Ability to add tags perhaps?

It already creates tags from post categories (checked on b2evo and wordpress feeds)

Quote:
- Ability to set how far back the initial activation will "post" (I haven't tested what will happen if I re-submit the same feed)

Do you mean an option to limit the number of imported items?
The plugin won't add the post if an item with the same date and title is already posted by the same author.

_________________
Russian b2evolution | Download
Back to top
View user's profile Send private message Visit poster's website
Laibcoms
Expert
Expert

Joined: 27 Feb 2006
Posts: 649
Reputation: 149.3 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 9

PostPosted: Wed Mar 18, 2009 23:55    Post subject: Reply with quote

sam2kb wrote:
Quote:
- Ability to add tags perhaps?

It already creates tags from post categories (checked on b2evo and wordpress feeds)


Hmm.. you mean if there's a "tag/category" available based on the Feed itself?

What I mean then, is a way to set a tag to the post created when the feed is imported, similar to how we choose a category for the imported posts.

For example:
Feed A - I set to be posted under Category "Linux"
Feed A - I also set it to have the tag "Debian" and "Ubuntu"

Or I'm missing something? Hmm, will try under v2.x hehe. ^_^

sam2kb wrote:

Quote:
- Ability to set how far back the initial activation will "post" (I haven't tested what will happen if I re-submit the same feed)

Do you mean an option to limit the number of imported items?
The plugin won't add the post if an item with the same date and title is already posted by the same author.


For the first part, a way to tell to for example, import feeds starting from 2 days ago. This way, if a feed provides up to 2 months ago (that will be a lot of items to import), I can just limit it to start from 2 days ago.

Or maybe instead of "days", "Import X number of feeds". Basically, only for the initial import.

For the ( ) part, cool. ^_^ I just haven't tested re-importing the same feed Razz

_________________
Theme Conversions for v3.x
Follow me @jcsesecuneta Blog: Snow World; gameshogun; ASEAN: Asia's Perfect 10
OS: Ubuntu GNU/Linux
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Kynlore
New Poster
New Poster

Joined: 01 Apr 2009
Posts: 1
add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Wed Apr 01, 2009 14:21    Post subject: Character Limit Reply with quote

There appears to be a 60 character limit in the URL text box. Is that a hard limit or is there a way to increase that so I can enter a longer URL?
Back to top
View user's profile Send private message
tilqicom
Guru
Guru

Joined: 14 Nov 2007
Posts: 1624
Reputation: 6.8Reputation: 6.8Reputation: 6.8Reputation: 6.8Reputation: 6.8Reputation: 6.8 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 20

PostPosted: Wed Apr 01, 2009 15:22    Post subject: Reply with quote

i totally missed this one, i see this for the first time

this looks like exactly what i need.. i was trying to make ¥åßßå's rss reader so that it could make new post with rss feed..

However it stops working when a special character gets involved..

_________________


.: linkback ≠ spam, yes to linkback, no to spam Shy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sam2kb
da ruski mafia

Joined: 02 Dec 2007
Posts: 2927
Reputation: 162.4Reputation: 162.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 53

PostPosted: Wed Apr 01, 2009 21:00    Post subject: Re: Character Limit Reply with quote

Kynlore wrote:
There appears to be a 60 character limit in the URL text box. Is that a hard limit or is there a way to increase that so I can enter a longer URL?


New version is in progress... for now you can try http://tinyurl.com/

_________________
Russian b2evolution | Download
Back to top
View user's profile Send private message Visit poster's website
sam2kb
da ruski mafia

Joined: 02 Dec 2007
Posts: 2927
Reputation: 162.4Reputation: 162.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 53

PostPosted: Wed Apr 01, 2009 21:02    Post subject: Reply with quote

tilqicom wrote:
However it stops working when a special character gets involved..


Are you talking about your plugin? I think this one should work good Smile

_________________
Russian b2evolution | Download
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> Plugins & Extensions All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
b2evolution Support Forum RSS Feed Forums powered by php Bulletin Board