├── .gitattributes ├── LICENSE ├── README.md ├── css └── GPstream.css ├── index.html └── js └── GPstream.js /.gitattributes: -------------------------------------------------------------------------------- 1 | *.html linguist-language=Javascript 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Bachors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | jQuery-Google-Plus-Stream 2 | =================================== 3 | 4 |
jQuery Google Plus Stream is jQuery plugin to display your google+ timeline steams (posts, photos, videos, article) on your website.
5 | 6 | # Sample 7 | HTML 8 |9 | <div id="GPstream"></div> 10 |11 | JS 12 |
13 |19 | -------------------------------------------------------------------------------- /css/GPstream.css: -------------------------------------------------------------------------------- 1 | /****************************************************** 2 | * #### jQuery-Google-Plus-Stream v2.0 #### 3 | * Coded by Ican Bachors 2014. 4 | * https://github.com/bachors/jQuery-Google-Plus-Stream 5 | * Updates will be posted to this site. 6 | ******************************************************/ 7 | 8 | #GPstream { 9 | display: block; 10 | width: 100%; 11 | box-sizing: border-box; 12 | margin: 0; 13 | padding: 0 14 | } 15 | 16 | #GPstream .box { 17 | display: block; 18 | width: 100%; 19 | background: #fff; 20 | color: #000; 21 | padding: 0; 22 | margin-bottom: 30px; 23 | box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); 24 | } 25 | 26 | #GPstream .box iframe, 27 | #GPstream .box video { 28 | width: 100%; 29 | height: auto; 30 | min-height: 260px; 31 | } 32 | 33 | #GPstream .box .status-message { 34 | display: block; 35 | overflow: hidden; 36 | padding: 15px 15px 5px; 37 | word-wrap: break-word; 38 | } 39 | 40 | #GPstream .box .status-message b { 41 | font-size: 1.5em; 42 | } 43 | 44 | #GPstream .box .quot { 45 | text-align: center; 46 | font-size: 1.4em; 47 | line-height: 1.2; 48 | } 49 | 50 | #GPstream .box .quot b { 51 | font-size: 1.5em; 52 | } 53 | 54 | #GPstream .box .quot i { 55 | display: block; 56 | color: #999; 57 | } 58 | 59 | #GPstream .box .quot i.fa-quote-right { 60 | margin-bottom: 15px; 61 | } 62 | 63 | #GPstream .box .quot i.fa-quote-left { 64 | margin-top: 15px; 65 | } 66 | 67 | #GPstream .box .status-message a.urls { 68 | color: #2879d0; 69 | text-decoration: underline 70 | } 71 | 72 | #GPstream .box .status-user { 73 | padding: 15px; 74 | position: relative; 75 | } 76 | 77 | #GPstream .box .status-user a, 78 | #GPstream .box .status-message a.users, 79 | #GPstream .box .status-message a.tags, 80 | #GPstream .box .status-message a.titles:hover { 81 | color: #2879d0; 82 | text-decoration: none; 83 | } 84 | 85 | #GPstream .box .status-message a.titles { 86 | color: #000; 87 | font-weight: bold; 88 | display: block; 89 | margin-bottom: 10px; 90 | text-decoration: underline 91 | } 92 | 93 | #GPstream .box .status-user a.date { 94 | color: #999; 95 | text-decoration: none; 96 | } 97 | 98 | #GPstream .box .status-user a.date:hover, 99 | #GPstream .box .status-user a:hover, 100 | #GPstream .box .status-message a.users:hover, 101 | #GPstream .box .status-message a.tags:hover { 102 | text-decoration: underline; 103 | } 104 | 105 | #GPstream .box .status-user-image { 106 | float: left; 107 | width: 45px; 108 | height: 45px; 109 | margin: 0 12px 0 0; 110 | border-radius: 50%; 111 | } 112 | 113 | #GPstream .box .status-user-image img { 114 | width: 100%; 115 | height: 100%; 116 | border-radius: 50%; 117 | } 118 | 119 | #GPstream .box .status-user-name { 120 | margin-top: 0; 121 | height: 25px; 122 | overflow: hidden; 123 | white-space: nowrap; 124 | text-overflow: ellipsis; 125 | font-weight: 400 126 | } 127 | 128 | #GPstream .box .status-user-name a { 129 | color: #000 130 | } 131 | 132 | #GPstream .box .status-type { 133 | position: absolute; 134 | right: 15px; 135 | bottom: 11px; 136 | font-size: 20px; 137 | font-weight: 400; 138 | } 139 | 140 | #GPstream .box .status-type .fa-google-plus { 141 | color: #FF6C60 142 | } 143 | 144 | #GPstream .box img.feed_galeri { 145 | width: 100% 146 | } 147 | 148 | #GPstream .box .status-bottom { 149 | display: block; 150 | width: 100%; 151 | height: 45px; 152 | background: #fafafa; 153 | padding: 0; 154 | position: relative 155 | } 156 | 157 | #GPstream .box .status-bottom a { 158 | color: #999; 159 | text-decoration: none; 160 | background: #fafafa; 161 | border-top: 1px solid #ccc; 162 | float: left; 163 | margin: 0; 164 | padding-top: 10px; 165 | padding-bottom: 10px; 166 | text-align: center; 167 | overflow: hidden; 168 | white-space: nowrap; 169 | text-overflow: ellipsis; 170 | } 171 | 172 | #GPstream .box .tilu a { 173 | width: 33.33%; 174 | } 175 | 176 | #GPstream #feed-more { 177 | display: block; 178 | width: 100%; 179 | box-sizing: border-box; 180 | margin: 0; 181 | text-align: center; 182 | font-size: 1.5em; 183 | font-weight: bold; 184 | cursor: pointer; 185 | border: none; 186 | padding: 15px 20px 15px 20px; 187 | background: #d34836; 188 | color: #fff; 189 | text-transform: uppercase; 190 | text-decoration: none 191 | } 192 | 193 | #GPstream #feed-more:hover { 194 | background-color: #eee; 195 | color: #34495e; 196 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |