| 1 |
|
******************************************************************** |
| 2 |
|
D R U P A L M O D U L E |
| 3 |
|
******************************************************************** |
| 4 |
|
Name: News page module |
| 5 |
|
Author: Robert Castelo |
| 6 |
|
Drupal: 5.x |
| 7 |
|
******************************************************************** |
| 8 |
|
DESCRIPTION: |
| 9 |
|
|
| 10 |
|
Enables the creation of pages which show syndicated news |
| 11 |
|
items from one aggregator category. The news items are filtered by |
| 12 |
|
keywords (chosen when creating the page), so that only news items which |
| 13 |
|
match the keyword(s) filter are shown. |
| 14 |
|
|
| 15 |
|
|
| 16 |
|
Features include: |
| 17 |
|
|
| 18 |
|
* Filter news items by keyword(s) |
| 19 |
|
* AND/OR/NOT searches ('+', '-') |
| 20 |
|
* 'Blog this' link for each news item |
| 21 |
|
* Create RSS feed of news page |
| 22 |
|
|
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
******************************************************************** |
| 28 |
|
|
| 29 |
|
PREREQUISITES: |
| 30 |
|
|
| 31 |
|
Must have taxonomy module already enabled. |
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 |
|
******************************************************************** |
| 36 |
|
USAGE: |
| 37 |
|
|
| 38 |
|
1) Set up an aggregator category with feeds from sites you want to |
| 39 |
|
syndicate. |
| 40 |
|
|
| 41 |
|
2) Create a news page |
| 42 |
|
- create content -> news page |
| 43 |
|
- select the aggregator category you want to filter. |
| 44 |
|
- make sure "Input Format" is set to "Full HTML", otherwise the |
| 45 |
|
markup tags will be stripped out. |
| 46 |
|
- set the 'Include' keywords |
| 47 |
|
|
| 48 |
|
Keyword Examples: |
| 49 |
|
|
| 50 |
|
To display items which contain any one of the Japanese related words: |
| 51 |
|
|
| 52 |
|
ipod, nano, shuffle |
| 53 |
|
|
| 54 |
|
|
| 55 |
|
To exclude news items based on keywords: |
| 56 |
|
|
| 57 |
|
ipod, nano, -shuffle |
| 58 |
|
|
| 59 |
|
|
| 60 |
|
To include items which must contain a certain word: |
| 61 |
|
|
| 62 |
|
ipod, nano, shuffle, +apple |
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
******************************************************************** |
| 68 |
|
INSTALLATION: |
| 69 |
|
|
| 70 |
|
Note: It is assumed that you have Drupal up and running. Be sure to |
| 71 |
|
check the Drupal web site if you need assistance. |
| 72 |
|
|
| 73 |
|
1. Place the entire news_page directory into your Drupal |
| 74 |
|
modules/directory. |
| 75 |
|
|
| 76 |
|
2. Enable the news_page module by navigating to: |
| 77 |
|
|
| 78 |
|
administer > modules |
| 79 |
|
|
| 80 |
|
Click the 'Save configuration' button at the bottom to commit your |
| 81 |
|
changes. |
| 82 |
|
|
| 83 |
|
3. Set the roles that can create, edit and view news pages on the |
| 84 |
|
'access control' page |
| 85 |
|
|
| 86 |
|
www.your.site/admin/access |
| 87 |
|
|
| 88 |
|
******************************************************************** |
| 89 |
|
AUTHOR CONTACT |
| 90 |
|
|
| 91 |
|
- Report Bugs/Request Features: |
| 92 |
|
http://drupal.org/project/news_page |
| 93 |
|
|
| 94 |
|
- Comission New Features: |
| 95 |
|
http://drupal.org/user/3555/contact |
| 96 |
|
|
| 97 |
|
- Say Thank You: |
| 98 |
|
http://www.amazon.com/gp/registry/O6JKRQEQ774F |
| 99 |
|
|
| 100 |
|
******************************************************************** |
| 101 |
|
CREDITS |
| 102 |
|
|
| 103 |
|
Yannick Forest (efolia) |
| 104 |
|
- Most of Drupal 5 update |
| 105 |
|
|
| 106 |
|
manuj_78 |
| 107 |
|
- encouragement, testing and patience |
| 108 |
|
|
| 109 |
|
|
| 110 |
|
|