Hướng dẫn sử dụng Drupal Aggregator Module

Hướng dẫn sử dụng Drupal Aggregator Module

Aggregator is a key part of Drupal that is often ignored.

I blame it on the confusing name. No, Aggregator is not an animal in Florida that eats people. Aggregator is a module that imports content from RSS feeds into Drupal.

Because it has a name starting with "A", Aggregator is the first module that people ever see on the Modules page. In this tutorial, we're going to show you what Aggregator does and how to use it.

Enable Aggregator

  • Go to Modules.
  • Check the box next to Aggregator then scroll down and click Save configuration.

tutuploadsmedia_1349377137939.png

Configure Aggregator

  • Go to Web Services > Feed aggregator.
  • Click Add category.

tutuploadsmedia_1349377252544.png

  • Enter a title and description for the category of RSS Feeds you want to create.

tutuploadsmedia_1349377287340.png

  • Click Save.
  • Go back to the main Feed aggregator page.
  • Click Add feed.
  • Fill in the details for the RSS feed you want to import.

tutuploadsmedia_1349377402354.png

  • Go back to the main feed aggregator page which will now look like the image below.

tutuploadsmedia_1349377447970.png

  • Click update items in the OSTraining tutorials row and you'll see that content has been imported and the details updated:

tutuploadsmedia_1349377461893.png

  • Visit the front of your site, and Aggregator will have automatically added menu links to the Navigation menu for you.
  • Click the Aggregator menu links and you'll be able to see your imported content:

Hướng dẫn sử dụng Drupal Aggregator Module

Please note two things:

  • With Aggregator, the content is displayed on your site, but not actually imported. The content is not saved on your site and clicking on the titles will take you back to the original content. If you want to permanently import RSS feeds as content, try the Feeds module: http://drupal.org/project/feeds.
  • You will need to set up cron on your site in order to refresh these feeds on a regular basis. You can do this by going to Administration > Configuration > System > Cron. This will run a cron task that is triggered by the first visitor to your site after the specified time.

 

Bạn thấy bài viết này như thế nào?: 
Average: 5 (2 votes)
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Thủ thuật tạo nút reply facebook vĩnh viễn 2015

Thủ thuật tạo nút reply facebook vĩnh viễn 2015

Năm 2014 mình từng có 1 bài viết hướng dẫn tạo chức năng reply trên facebook

60 vệ tinh Starlink đầu tiên của SpaceX trong quỹ đạo - Ảnh: SPACEX

Elon Musk đã ‘tweet’ thành công bằng mạng Internet từ vệ tinh Starlink

Tỉ phú công nghệ Elon Musk vừa có một trải nghiệm đáng chúc mừng khi lần đầu tiên sử dụng mạng Internet do một vệ tinh Internet thuộc dự án Starlink để đăng thông tin lên Twitter thành công.

Install Ice Cream Sandwich Keyboard on your Android phone

Install Ice Cream Sandwich Keyboard on your Android phone

Ice Cream Sandwich Keyboard is one of the newest keyboard available for Android 4.o with lots of new features.

Công ty diệt chuột T&C

 

Diet con trung