Thứ Ba, 7 tháng 1, 2014

Import RSS to Artilce by FeedGator

Giới thiệu:
FeedGator là 1 component có vài plugin hỗ trợ để import dữ liệu từ RSS đến category. Có cấu hình 1 số thông số mặc định.
Cách thực hiện thêm nhiều FEED url vào.
Import bằng tay.
Import tự động

Plugin mặc định:
Plugin Import vào article joomla
Plugin Import và K2 Item
Plugin Import auto (cái này chưa kiểm tra)

Download: http://joomlacode.org/gf/project/feedgator/frs/


Các phiên bản:
Joomla 2.5 download phiên bản feedgator2.x
Joomla 3.x download phiên bản  feedgator3.x

Hiệu chỉnh code đối với phiên  feedgator3.x mặc định có 1 lỗi:(vào thời điểm 07 tháng 01 năm 2013)
Thông báo lỗi:
Feed [object Object] (ID=1): Error -
Close this window
 
Cách fix:
Edit the file: /administrator/components/com_feedgator/models/feed.php
Line: 130
Find the:
function _setFolderParams($preview,&$fgParams) {
Replace with:
function _setFolderParams($preview,&$fgParams) {
jimport( 'joomla.filesystem.folder' );

Thực hiện thêm mới và import:
1. Tạo mới 1 category ví dụ: Facebook Category
2. Tạo mới feed theo hình ảnh
link rss của facebook ví dụ: http://www.facebook.com/feeds/page.php?format=atom10&id=5791561181

3. Ra ngoài nhấn import đợi kết quả.
4. Kiểm tra vào category article

Một số link rss import thử nghiệm:
Pinterest RSS Feeds: http://pinterest.com/labnol/people-i-admire/rss
Image RSS Feeds: http://api.flickr.com/services/feeds/photos_public.gne?tags=facebook,instagram
Blog: http://phuongtranbaoloc.blogspot.com/feeds/posts/default

0 nhận xét:

Đăng nhận xét