| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | $_path1 = '/home/web/dev.ec-cube.net/html/test/adachi/LLReader'; |
|---|
| 4 | $_path2 = '/home/web/dev.ec-cube.net/html/test/adachi/LLReader/Lib'; |
|---|
| 5 | |
|---|
| 6 | $_ps = PATH_SEPARATOR; |
|---|
| 7 | $_include_path = ini_get('include_path') . $_ps . $_path1 . $_ps . $_path2; |
|---|
| 8 | |
|---|
| 9 | ini_set('include_path', $_include_path); |
|---|
| 10 | |
|---|
| 11 | require_once('LLReader.php'); |
|---|
| 12 | |
|---|
| 13 | $config = array( |
|---|
| 14 | 'plugins' => array( |
|---|
| 15 | 'Subscription_Simple' => array( |
|---|
| 16 | 'urls' => array( |
|---|
| 17 | 'http://feeds.feedburner.jp/cnet/rss', //cnet |
|---|
| 18 | 'http://rss.rssad.jp/rss/itm/rss.xml', //@IT |
|---|
| 19 | 'http://rss.rssad.jp/rss/itm/1.0/topstory.xml' //ITmedia |
|---|
| 20 | ) |
|---|
| 21 | ), |
|---|
| 22 | 'Filter_SearchEntry2Feed' => array( |
|---|
| 23 | 'regex' => '/google/i' |
|---|
| 24 | ), |
|---|
| 25 | ) |
|---|
| 26 | ); |
|---|
| 27 | |
|---|
| 28 | $LLR = new LLReader($config); |
|---|
| 29 | $LLR->run(); |
|---|
| 30 | |
|---|
| 31 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.