Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | $_path1 = '/home/web/dev.ec-cube.net/html/test/adachi/PLLagger'; |
---|
4 | $_path2 = '/home/web/dev.ec-cube.net/html/test/adachi/PLLagger/Lib'; |
---|
5 | |
---|
6 | $_ps = PATH_SEPARATOR; |
---|
7 | $_include_path = ini_get('include_path') . $_ps . './' . $_ps . './Lib'; |
---|
8 | |
---|
9 | ini_set('include_path', $_include_path); |
---|
10 | |
---|
11 | require_once('PLLagger.php'); |
---|
12 | |
---|
13 | $config = array( |
---|
14 | 'plugins' => array( |
---|
15 | 'Subscription_Simple' => array( |
---|
16 | 'urls' => array( |
---|
17 | 'http://blog-search.yahoo.co.jp/rss?p=%E3%83%AD%E3%83%83%E3%82%AF%E3%82%AA%E3%83%B3&ei=utf-8', |
---|
18 | 'http://blogsearch.google.co.jp/blogsearch_feeds?hl=ja&q=%E3%83%AD%E3%83%83%E3%82%AF%E3%82%AA%E3%83%B3&lr=lang_ja&ie=utf-8&num=10&output=atom', |
---|
19 | 'http://feeds.feedburner.jp/cnet/rss', //cnet |
---|
20 | 'http://rss.rssad.jp/rss/itm/rss.xml', //@IT |
---|
21 | 'http://rss.rssad.jp/rss/itm/1.0/topstory.xml' //ITmedia |
---|
22 | ) |
---|
23 | ), |
---|
24 | 'Filter_SearchEntry2Feed' => array( |
---|
25 | 'regex' => '/¥í¥Ã¥¯¥ª¥ó/i' |
---|
26 | ), |
---|
27 | ) |
---|
28 | ); |
---|
29 | |
---|
30 | $LLR = new PLLagger($config); |
---|
31 | $LLR->run(); |
---|
32 | |
---|
33 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.