-
Notifications
You must be signed in to change notification settings - Fork 22
/
config.php
executable file
·68 lines (62 loc) · 1.72 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
// Infinite Social Wall
// 7.29.2012
//
// Philip Bjorge
// https://github.com/philipbjorge/Infinite-Social-Wall
// Dual MIT/BSD License
// http://modernizr.com/license/
//
//
//
// MODIFIABLE SETTINGS
//
// MySQL Settings
$mysql_server = "localhost";
$mysql_user = "root";
$mysql_pass = "root";
$mysql_db = "infinite_social_wall";
$mysql_table = "archived_social_items";
// "Pagination" settings - how many social items to output on each load
$results_per_page = 20;
// RSS Feeds ("APIs")
// the url key points to your RSS feed.
// uppercase keywords like {USER} are replaced by the lowercase
// key in the corresponding array.
// e.g. "http://gplus-to-rss.appspot.com/rss/{USER}" becomes "http://gplus-to-rss.appspot.com/rss/111577025166114857734"
$apis = array(
"google-plus" => array(
"user" => "111577025166114857734",
"url" => "http://gplus-to-rss.appspot.com/rss/{USER}"
),
"github" => array(
"user" => "philipbjorge",
"url" => "http://atom2rss.semiologic.com/?atom=https://github.com/{USER}.atom"
),
"pinterest" => array(
"user" => "philipbjorge",
"url" => "http://pinterest.com/{USER}/feed.rss"
),
"twitter" => array(
"user" => "philipbjorge",
"url" => "http://twitter.com/statuses/user_timeline/{USER}.rss"
),
"stackoverflow" => array(
"user" => "1139340",
"url" => "http://stackoverflow.com/feeds/user/{USER}"
),
"reddit" => array(
"user" => "philipbjorge",
"url" => "http://www.reddit.com/user/{USER}/.rss"
),
"instagram" => array(
"user" => "philipbjorge",
"url" => "http://statigr.am/feed/{USER}"
)
);
//
// END MODIFIABLE SETTINGS
//
// MySQL Connection
$mysqli = new mysqli($mysql_server, $mysql_user, $mysql_pass, $mysql_db);
?>