RSS Post Importer - Version 2.0.16

Version Description

Download this release

Release Info

Developer promz
Plugin Icon 128x128 RSS Post Importer
Version 2.0.16
Comparing to
See all releases

Code changes from version 2.0.15 to 2.0.16

app/assets/css/style.css CHANGED
@@ -1,36 +1,91 @@
1
- /*!
2
- * Font Awesome 3.2.1
3
- * the iconic font designed for Bootstrap
4
- * ------------------------------------------------------------------------------
5
- * The full suite of pictographic icons, examples, and documentation can be
6
- * found at http://fontawesome.io. Stay up to date on Twitter at
7
- * http://twitter.com/fontawesome.
8
- *
9
- * License
10
- * ------------------------------------------------------------------------------
11
- * - The Font Awesome font is licensed under SIL OFL 1.1 -
12
- * http://scripts.sil.org/OFL
13
- * - Font Awesome CSS, LESS, and SASS files are licensed under MIT License -
14
- * http://opensource.org/licenses/mit-license.html
15
- * - Font Awesome documentation licensed under CC BY 3.0 -
16
- * http://creativecommons.org/licenses/by/3.0/
17
- * - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
18
- * "Font Awesome by Dave Gandy - http://fontawesome.io"
19
- *
20
- * Author - Dave Gandy
21
- * ------------------------------------------------------------------------------
22
- * Email: dave@fontawesome.io
23
- * Twitter: http://twitter.com/davegandy
24
- * Work: Lead Product Designer @ Kyruus - http://kyruus.com
25
- */@font-face{font-family:FontAwesome;src:url(../font/fontawesome-webfont.eot?v=3.2.1);src:url(../font/fontawesome-webfont.eot?#iefix&v=3.2.1) format('embedded-opentype'),url(../font/fontawesome-webfont.woff?v=3.2.1) format('woff'),url(../font/fontawesome-webfont.ttf?v=3.2.1) format('truetype'),url(../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format('svg');font-weight:400;font-style:normal}[class^=icon-],[class*=" icon-"]{font-family:FontAwesome;font-weight:400;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;}[class^=icon-]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}.icon-large:before{vertical-align:-10%;font-size:1.33333333em}a [class^=icon-],a [class*=" icon-"]{display:inline}[class^=icon-].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.14285714em;text-align:right;padding-right:.28571429em}[class^=icon-].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.42857143em}.icons-ul{margin-left:2.14285714em;list-style-type:none}.icons-ul>li{position:relative}.icons-ul .icon-li{position:absolute;left:-2.14285714em;width:2.14285714em;text-align:center;line-height:inherit}[class^=icon-].hide,[class*=" icon-"].hide{display:none}.icon-muted{color:#eee}.icon-light{color:#fff}.icon-dark{color:#333}.icon-border{border:solid 1px #eee;padding:.2em .25em .15em;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-top-right-radius:4px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:5px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:5px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-top-right-radius:6px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:6px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.icon-5x{font-size:5em}.icon-5x.icon-border{border-width:5px;-webkit-border-top-right-radius:7px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:7px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:7px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pull-right{float:right}.pull-left{float:left}[class^=icon-].pull-left,[class*=" icon-"].pull-left{margin-right:.3em}[class^=icon-].pull-right,[class*=" icon-"].pull-right{margin-left:.3em}.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%}.icon-stack [class^=icon-],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;}.icon-stack .icon-stack-base{font-size:2em;}.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.icon-flip-horizontal:before{-webkit-transform:scale(-1,1);-moz-transform:scale(-1,1);-ms-transform:scale(-1,1);-o-transform:scale(-1,1);transform:scale(-1,1)}.icon-flip-vertical:before{-webkit-transform:scale(1,-1);-moz-transform:scale(1,-1);-ms-transform:scale(1,-1);-o-transform:scale(1,-1);transform:scale(1,-1)}a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope-alt:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-power-off:before,.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-gear:before,.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file-alt:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-rotate-right:before,.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-mail-forward:before,.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-gears:before,.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up-alt:before{content:"\f087"}.icon-thumbs-down-alt:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-unchecked:before,.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-rotate-left:before,.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-lightbulb:before{content:"\f0eb"}.icon-exchange:before{content:"\f0ec"}.icon-cloud-download:before{content:"\f0ed"}.icon-cloud-upload:before{content:"\f0ee"}.icon-user-md:before{content:"\f0f0"}.icon-stethoscope:before{content:"\f0f1"}.icon-suitcase:before{content:"\f0f2"}.icon-bell-alt:before{content:"\f0f3"}.icon-coffee:before{content:"\f0f4"}.icon-food:before{content:"\f0f5"}.icon-file-text-alt:before{content:"\f0f6"}.icon-building:before{content:"\f0f7"}.icon-hospital:before{content:"\f0f8"}.icon-ambulance:before{content:"\f0f9"}.icon-medkit:before{content:"\f0fa"}.icon-fighter-jet:before{content:"\f0fb"}.icon-beer:before{content:"\f0fc"}.icon-h-sign:before{content:"\f0fd"}.icon-plus-sign-alt:before{content:"\f0fe"}.icon-double-angle-left:before{content:"\f100"}.icon-double-angle-right:before{content:"\f101"}.icon-double-angle-up:before{content:"\f102"}.icon-double-angle-down:before{content:"\f103"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-angle-up:before{content:"\f106"}.icon-angle-down:before{content:"\f107"}.icon-desktop:before{content:"\f108"}.icon-laptop:before{content:"\f109"}.icon-tablet:before{content:"\f10a"}.icon-mobile-phone:before{content:"\f10b"}.icon-circle-blank:before{content:"\f10c"}.icon-quote-left:before{content:"\f10d"}.icon-quote-right:before{content:"\f10e"}.icon-spinner:before{content:"\f110"}.icon-circle:before{content:"\f111"}.icon-mail-reply:before,.icon-reply:before{content:"\f112"}.icon-github-alt:before{content:"\f113"}.icon-folder-close-alt:before{content:"\f114"}.icon-folder-open-alt:before{content:"\f115"}.icon-expand-alt:before{content:"\f116"}.icon-collapse-alt:before{content:"\f117"}.icon-smile:before{content:"\f118"}.icon-frown:before{content:"\f119"}.icon-meh:before{content:"\f11a"}.icon-gamepad:before{content:"\f11b"}.icon-keyboard:before{content:"\f11c"}.icon-flag-alt:before{content:"\f11d"}.icon-flag-checkered:before{content:"\f11e"}.icon-terminal:before{content:"\f120"}.icon-code:before{content:"\f121"}.icon-reply-all:before{content:"\f122"}.icon-mail-reply-all:before{content:"\f122"}.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123"}.icon-location-arrow:before{content:"\f124"}.icon-crop:before{content:"\f125"}.icon-code-fork:before{content:"\f126"}.icon-unlink:before{content:"\f127"}.icon-question:before{content:"\f128"}.icon-info:before{content:"\f129"}.icon-exclamation:before{content:"\f12a"}.icon-superscript:before{content:"\f12b"}.icon-subscript:before{content:"\f12c"}.icon-eraser:before{content:"\f12d"}.icon-puzzle-piece:before{content:"\f12e"}.icon-microphone:before{content:"\f130"}.icon-microphone-off:before{content:"\f131"}.icon-shield:before{content:"\f132"}.icon-calendar-empty:before{content:"\f133"}.icon-fire-extinguisher:before{content:"\f134"}.icon-rocket:before{content:"\f135"}.icon-maxcdn:before{content:"\f136"}.icon-chevron-sign-left:before{content:"\f137"}.icon-chevron-sign-right:before{content:"\f138"}.icon-chevron-sign-up:before{content:"\f139"}.icon-chevron-sign-down:before{content:"\f13a"}.icon-html5:before{content:"\f13b"}.icon-css3:before{content:"\f13c"}.icon-anchor:before{content:"\f13d"}.icon-unlock-alt:before{content:"\f13e"}.icon-bullseye:before{content:"\f140"}.icon-ellipsis-horizontal:before{content:"\f141"}.icon-ellipsis-vertical:before{content:"\f142"}.icon-rss-sign:before{content:"\f143"}.icon-play-sign:before{content:"\f144"}.icon-ticket:before{content:"\f145"}.icon-minus-sign-alt:before{content:"\f146"}.icon-check-minus:before{content:"\f147"}.icon-level-up:before{content:"\f148"}.icon-level-down:before{content:"\f149"}.icon-check-sign:before{content:"\f14a"}.icon-edit-sign:before{content:"\f14b"}.icon-external-link-sign:before{content:"\f14c"}.icon-share-sign:before{content:"\f14d"}.icon-compass:before{content:"\f14e"}.icon-collapse:before{content:"\f150"}.icon-collapse-top:before{content:"\f151"}.icon-expand:before{content:"\f152"}.icon-euro:before,.icon-eur:before{content:"\f153"}.icon-gbp:before{content:"\f154"}.icon-dollar:before,.icon-usd:before{content:"\f155"}.icon-rupee:before,.icon-inr:before{content:"\f156"}.icon-yen:before,.icon-jpy:before{content:"\f157"}.icon-renminbi:before,.icon-cny:before{content:"\f158"}.icon-won:before,.icon-krw:before{content:"\f159"}.icon-bitcoin:before,.icon-btc:before{content:"\f15a"}.icon-file:before{content:"\f15b"}.icon-file-text:before{content:"\f15c"}.icon-sort-by-alphabet:before{content:"\f15d"}.icon-sort-by-alphabet-alt:before{content:"\f15e"}.icon-sort-by-attributes:before{content:"\f160"}.icon-sort-by-attributes-alt:before{content:"\f161"}.icon-sort-by-order:before{content:"\f162"}.icon-sort-by-order-alt:before{content:"\f163"}.icon-thumbs-up:before{content:"\f164"}.icon-thumbs-down:before{content:"\f165"}.icon-youtube-sign:before{content:"\f166"}.icon-youtube:before{content:"\f167"}.icon-xing:before{content:"\f168"}.icon-xing-sign:before{content:"\f169"}.icon-youtube-play:before{content:"\f16a"}.icon-dropbox:before{content:"\f16b"}.icon-stackexchange:before{content:"\f16c"}.icon-instagram:before{content:"\f16d"}.icon-flickr:before{content:"\f16e"}.icon-adn:before{content:"\f170"}.icon-bitbucket:before{content:"\f171"}.icon-bitbucket-sign:before{content:"\f172"}.icon-tumblr:before{content:"\f173"}.icon-tumblr-sign:before{content:"\f174"}.icon-long-arrow-down:before{content:"\f175"}.icon-long-arrow-up:before{content:"\f176"}.icon-long-arrow-left:before{content:"\f177"}.icon-long-arrow-right:before{content:"\f178"}.icon-apple:before{content:"\f179"}.icon-windows:before{content:"\f17a"}.icon-android:before{content:"\f17b"}.icon-linux:before{content:"\f17c"}.icon-dribbble:before{content:"\f17d"}.icon-skype:before{content:"\f17e"}.icon-foursquare:before{content:"\f180"}.icon-trello:before{content:"\f181"}.icon-female:before{content:"\f182"}.icon-male:before{content:"\f183"}.icon-gittip:before{content:"\f184"}.icon-sun:before{content:"\f185"}.icon-moon:before{content:"\f186"}.icon-archive:before{content:"\f187"}.icon-bug:before{content:"\f188"}.icon-vk:before{content:"\f189"}.icon-weibo:before{content:"\f18a"}.icon-renren:before{content:"\f18b"}#postbox-container-1 h3.version{font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;background:0 0;margin-bottom:10px;border-bottom:0 none;padding:7px 0;-webkit-box-shadow:0 0 0 #fff;-moz-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff}#postbox-container-1 ul li i{font-size:1.2em;margin-right:10px}.log{margin:40px 0}.log code{font-size:1.2em;line-height:1.2em}.loader{margin-top:20px}.rate-box h4{font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:400;font-size:1.2em}.rate-box i{color:#fcd237;text-shadow:0 0 1px #c59e43;font-size:1.9em;margin-bottom:10px;display:inline-block}.rate-box a{font-size:.8em;text-decoration:none;font-style:normal}.rss_pi-table{margin-bottom:20px}.rss_pi-table tbody tr.edit-row{display:none}.rss_pi-table tbody tr.edit-row.show{display:table-row}.rss_pi-table tbody tr.edit-row>td{padding:0;border-top:0 none}.rss_pi-table tbody tr.edit-row table{border:0 none;margin:0}.rss_pi-table tbody tr.edit-row table tr td{border:0 none;border-top:1px solid #F0F0F0;background:#fff}.rss_pi-table tbody tr.edit-row table tr td:first-child{background:#F9F9F9;border-right:1px solid #E1E1E1;width:440px}.rss_pi-table tbody tr.edit-row table tr td label{font-weight:700}.rss_pi-table tbody tr.edit-row table tr td p.description{color:#9f9f9f;font-size:.8em;line-height:2em;font-style:normal}.rss_pi-table tbody tr.edit-row table tr td input,.rss_pi-table tbody tr.edit-row table tr td textarea{padding:8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.rss_pi-table tbody tr.edit-row table tr td .radiolist li label{font-weight:400;display:inline-block}.rss_pi-table tbody tr.edit-row table tr td .radiolist li label input{display:inline-block;width:auto;margin-right:10px}.rss_pi-table tbody tr.data-row.show td{background:#2a95c5;background:-webkit-gradient(linear,left bottom,left top,color-stop(0,#185571),color-stop(1,#2a95c5));background:-ms-linear-gradient(bottom,#185571,#2a95c5);background:-moz-linear-gradient(center bottom,#185571 0,#2a95c5 100%);background:-o-linear-gradient(#2a95c5,#185571);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2a95c5', endColorstr='#185571', GradientType=0);border-top:1px solid #2a95c5;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.5)}.rss_pi-table tbody tr.data-row.show td a{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.5)}.rss_pi-table tbody tr td{border-bottom:1px solid #E1E1E1;padding:10px}.rss_pi-table tbody tr td .row-options{visibility:hidden}.rss_pi-table tbody tr:hover .row-options{visibility:visible}.rss_pi-table tfoot tr td{padding:10px;text-align:right}.rss_pi-table code{display: block;float: left;clear: both;padding: 3px 5px;font-size: 0.9em;background: none;border: 1px #eaeaea solid;}a.delete-row {color: #a00;}a.delete-row:hover{color: red;}.rss-pi-error{margin: 5px 0 15px;border-left: 4px solid #dd3d36;background: #fff;box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);padding: 1px 12px;} .selectit > input,.tags_container input {
26
- width: 4% !important;
27
- }
28
- label.selectit,.tags_container label{ color:#555555 !important; font-weight: normal !important; }
29
- div.category_container ul.children{
30
- margin-bottom: 6px;
31
- margin-top: 7px;
32
- }
33
- div.category_container,div.tags_container{
34
- height: 205px;
35
- overflow: auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
1
+ /*!
2
+
3
+ * Font Awesome 3.2.1
4
+
5
+ * the iconic font designed for Bootstrap
6
+
7
+ * ------------------------------------------------------------------------------
8
+
9
+ * The full suite of pictographic icons, examples, and documentation can be
10
+
11
+ * found at http://fontawesome.io. Stay up to date on Twitter at
12
+
13
+ * http://twitter.com/fontawesome.
14
+
15
+ *
16
+
17
+ * License
18
+
19
+ * ------------------------------------------------------------------------------
20
+
21
+ * - The Font Awesome font is licensed under SIL OFL 1.1 -
22
+
23
+ * http://scripts.sil.org/OFL
24
+
25
+ * - Font Awesome CSS, LESS, and SASS files are licensed under MIT License -
26
+
27
+ * http://opensource.org/licenses/mit-license.html
28
+
29
+ * - Font Awesome documentation licensed under CC BY 3.0 -
30
+
31
+ * http://creativecommons.org/licenses/by/3.0/
32
+
33
+ * - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
34
+
35
+ * "Font Awesome by Dave Gandy - http://fontawesome.io"
36
+
37
+ *
38
+
39
+ * Author - Dave Gandy
40
+
41
+ * ------------------------------------------------------------------------------
42
+
43
+ * Email: dave@fontawesome.io
44
+
45
+ * Twitter: http://twitter.com/davegandy
46
+
47
+ * Work: Lead Product Designer @ Kyruus - http://kyruus.com
48
+
49
+ */@font-face{font-family:FontAwesome;src:url(../font/fontawesome-webfont.eot?v=3.2.1);src:url(../font/fontawesome-webfont.eot?#iefix&v=3.2.1) format('embedded-opentype'),url(../font/fontawesome-webfont.woff?v=3.2.1) format('woff'),url(../font/fontawesome-webfont.ttf?v=3.2.1) format('truetype'),url(../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format('svg');font-weight:400;font-style:normal}[class^=icon-],[class*=" icon-"]{font-family:FontAwesome;font-weight:400;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;}[class^=icon-]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}.icon-large:before{vertical-align:-10%;font-size:1.33333333em}a [class^=icon-],a [class*=" icon-"]{display:inline}[class^=icon-].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.14285714em;text-align:right;padding-right:.28571429em}[class^=icon-].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.42857143em}.icons-ul{margin-left:2.14285714em;list-style-type:none}.icons-ul>li{position:relative}.icons-ul .icon-li{position:absolute;left:-2.14285714em;width:2.14285714em;text-align:center;line-height:inherit}[class^=icon-].hide,[class*=" icon-"].hide{display:none}.icon-muted{color:#eee}.icon-light{color:#fff}.icon-dark{color:#333}.icon-border{border:solid 1px #eee;padding:.2em .25em .15em;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-top-right-radius:4px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:5px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:5px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-top-right-radius:6px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:6px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.icon-5x{font-size:5em}.icon-5x.icon-border{border-width:5px;-webkit-border-top-right-radius:7px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:7px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;border-top-right-radius:7px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:0;-moz-background-clip:padding-box;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pull-right{float:right}.pull-left{float:left}[class^=icon-].pull-left,[class*=" icon-"].pull-left{margin-right:.3em}[class^=icon-].pull-right,[class*=" icon-"].pull-right{margin-left:.3em}.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%}.icon-stack [class^=icon-],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;}.icon-stack .icon-stack-base{font-size:2em;}.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.icon-flip-horizontal:before{-webkit-transform:scale(-1,1);-moz-transform:scale(-1,1);-ms-transform:scale(-1,1);-o-transform:scale(-1,1);transform:scale(-1,1)}.icon-flip-vertical:before{-webkit-transform:scale(1,-1);-moz-transform:scale(1,-1);-ms-transform:scale(1,-1);-o-transform:scale(1,-1);transform:scale(1,-1)}a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope-alt:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-power-off:before,.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-gear:before,.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file-alt:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-rotate-right:before,.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-mail-forward:before,.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-gears:before,.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up-alt:before{content:"\f087"}.icon-thumbs-down-alt:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-unchecked:before,.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-rotate-left:before,.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-lightbulb:before{content:"\f0eb"}.icon-exchange:before{content:"\f0ec"}.icon-cloud-download:before{content:"\f0ed"}.icon-cloud-upload:before{content:"\f0ee"}.icon-user-md:before{content:"\f0f0"}.icon-stethoscope:before{content:"\f0f1"}.icon-suitcase:before{content:"\f0f2"}.icon-bell-alt:before{content:"\f0f3"}.icon-coffee:before{content:"\f0f4"}.icon-food:before{content:"\f0f5"}.icon-file-text-alt:before{content:"\f0f6"}.icon-building:before{content:"\f0f7"}.icon-hospital:before{content:"\f0f8"}.icon-ambulance:before{content:"\f0f9"}.icon-medkit:before{content:"\f0fa"}.icon-fighter-jet:before{content:"\f0fb"}.icon-beer:before{content:"\f0fc"}.icon-h-sign:before{content:"\f0fd"}.icon-plus-sign-alt:before{content:"\f0fe"}.icon-double-angle-left:before{content:"\f100"}.icon-double-angle-right:before{content:"\f101"}.icon-double-angle-up:before{content:"\f102"}.icon-double-angle-down:before{content:"\f103"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-angle-up:before{content:"\f106"}.icon-angle-down:before{content:"\f107"}.icon-desktop:before{content:"\f108"}.icon-laptop:before{content:"\f109"}.icon-tablet:before{content:"\f10a"}.icon-mobile-phone:before{content:"\f10b"}.icon-circle-blank:before{content:"\f10c"}.icon-quote-left:before{content:"\f10d"}.icon-quote-right:before{content:"\f10e"}.icon-spinner:before{content:"\f110"}.icon-circle:before{content:"\f111"}.icon-mail-reply:before,.icon-reply:before{content:"\f112"}.icon-github-alt:before{content:"\f113"}.icon-folder-close-alt:before{content:"\f114"}.icon-folder-open-alt:before{content:"\f115"}.icon-expand-alt:before{content:"\f116"}.icon-collapse-alt:before{content:"\f117"}.icon-smile:before{content:"\f118"}.icon-frown:before{content:"\f119"}.icon-meh:before{content:"\f11a"}.icon-gamepad:before{content:"\f11b"}.icon-keyboard:before{content:"\f11c"}.icon-flag-alt:before{content:"\f11d"}.icon-flag-checkered:before{content:"\f11e"}.icon-terminal:before{content:"\f120"}.icon-code:before{content:"\f121"}.icon-reply-all:before{content:"\f122"}.icon-mail-reply-all:before{content:"\f122"}.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123"}.icon-location-arrow:before{content:"\f124"}.icon-crop:before{content:"\f125"}.icon-code-fork:before{content:"\f126"}.icon-unlink:before{content:"\f127"}.icon-question:before{content:"\f128"}.icon-info:before{content:"\f129"}.icon-exclamation:before{content:"\f12a"}.icon-superscript:before{content:"\f12b"}.icon-subscript:before{content:"\f12c"}.icon-eraser:before{content:"\f12d"}.icon-puzzle-piece:before{content:"\f12e"}.icon-microphone:before{content:"\f130"}.icon-microphone-off:before{content:"\f131"}.icon-shield:before{content:"\f132"}.icon-calendar-empty:before{content:"\f133"}.icon-fire-extinguisher:before{content:"\f134"}.icon-rocket:before{content:"\f135"}.icon-maxcdn:before{content:"\f136"}.icon-chevron-sign-left:before{content:"\f137"}.icon-chevron-sign-right:before{content:"\f138"}.icon-chevron-sign-up:before{content:"\f139"}.icon-chevron-sign-down:before{content:"\f13a"}.icon-html5:before{content:"\f13b"}.icon-css3:before{content:"\f13c"}.icon-anchor:before{content:"\f13d"}.icon-unlock-alt:before{content:"\f13e"}.icon-bullseye:before{content:"\f140"}.icon-ellipsis-horizontal:before{content:"\f141"}.icon-ellipsis-vertical:before{content:"\f142"}.icon-rss-sign:before{content:"\f143"}.icon-play-sign:before{content:"\f144"}.icon-ticket:before{content:"\f145"}.icon-minus-sign-alt:before{content:"\f146"}.icon-check-minus:before{content:"\f147"}.icon-level-up:before{content:"\f148"}.icon-level-down:before{content:"\f149"}.icon-check-sign:before{content:"\f14a"}.icon-edit-sign:before{content:"\f14b"}.icon-external-link-sign:before{content:"\f14c"}.icon-share-sign:before{content:"\f14d"}.icon-compass:before{content:"\f14e"}.icon-collapse:before{content:"\f150"}.icon-collapse-top:before{content:"\f151"}.icon-expand:before{content:"\f152"}.icon-euro:before,.icon-eur:before{content:"\f153"}.icon-gbp:before{content:"\f154"}.icon-dollar:before,.icon-usd:before{content:"\f155"}.icon-rupee:before,.icon-inr:before{content:"\f156"}.icon-yen:before,.icon-jpy:before{content:"\f157"}.icon-renminbi:before,.icon-cny:before{content:"\f158"}.icon-won:before,.icon-krw:before{content:"\f159"}.icon-bitcoin:before,.icon-btc:before{content:"\f15a"}.icon-file:before{content:"\f15b"}.icon-file-text:before{content:"\f15c"}.icon-sort-by-alphabet:before{content:"\f15d"}.icon-sort-by-alphabet-alt:before{content:"\f15e"}.icon-sort-by-attributes:before{content:"\f160"}.icon-sort-by-attributes-alt:before{content:"\f161"}.icon-sort-by-order:before{content:"\f162"}.icon-sort-by-order-alt:before{content:"\f163"}.icon-thumbs-up:before{content:"\f164"}.icon-thumbs-down:before{content:"\f165"}.icon-youtube-sign:before{content:"\f166"}.icon-youtube:before{content:"\f167"}.icon-xing:before{content:"\f168"}.icon-xing-sign:before{content:"\f169"}.icon-youtube-play:before{content:"\f16a"}.icon-dropbox:before{content:"\f16b"}.icon-stackexchange:before{content:"\f16c"}.icon-instagram:before{content:"\f16d"}.icon-flickr:before{content:"\f16e"}.icon-adn:before{content:"\f170"}.icon-bitbucket:before{content:"\f171"}.icon-bitbucket-sign:before{content:"\f172"}.icon-tumblr:before{content:"\f173"}.icon-tumblr-sign:before{content:"\f174"}.icon-long-arrow-down:before{content:"\f175"}.icon-long-arrow-up:before{content:"\f176"}.icon-long-arrow-left:before{content:"\f177"}.icon-long-arrow-right:before{content:"\f178"}.icon-apple:before{content:"\f179"}.icon-windows:before{content:"\f17a"}.icon-android:before{content:"\f17b"}.icon-linux:before{content:"\f17c"}.icon-dribbble:before{content:"\f17d"}.icon-skype:before{content:"\f17e"}.icon-foursquare:before{content:"\f180"}.icon-trello:before{content:"\f181"}.icon-female:before{content:"\f182"}.icon-male:before{content:"\f183"}.icon-gittip:before{content:"\f184"}.icon-sun:before{content:"\f185"}.icon-moon:before{content:"\f186"}.icon-archive:before{content:"\f187"}.icon-bug:before{content:"\f188"}.icon-vk:before{content:"\f189"}.icon-weibo:before{content:"\f18a"}.icon-renren:before{content:"\f18b"}#postbox-container-1 h3.version{font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;background:0 0;margin-bottom:10px;border-bottom:0 none;padding:7px 0;-webkit-box-shadow:0 0 0 #fff;-moz-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff}#postbox-container-1 ul li i{font-size:1.2em;margin-right:10px}.log{margin:40px 0}.log code{font-size:1.2em;line-height:1.2em}.loader{margin-top:20px}.rate-box h4{font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:400;font-size:1.2em}.rate-box i{color:#fcd237;text-shadow:0 0 1px #c59e43;font-size:1.9em;margin-bottom:10px;display:inline-block}.rate-box a{font-size:.8em;text-decoration:none;font-style:normal}.rss_pi-table{margin-bottom:20px}.rss_pi-table tbody tr.edit-row{display:none}.rss_pi-table tbody tr.edit-row.show{display:table-row}.rss_pi-table tbody tr.edit-row>td{padding:0;border-top:0 none}.rss_pi-table tbody tr.edit-row table{border:0 none;margin:0}.rss_pi-table tbody tr.edit-row table tr td{border:0 none;border-top:1px solid #F0F0F0;background:#fff}.rss_pi-table tbody tr.edit-row table tr td:first-child{background:#F9F9F9;border-right:1px solid #E1E1E1;width:440px}.rss_pi-table tbody tr.edit-row table tr td label{font-weight:700}.rss_pi-table tbody tr.edit-row table tr td p.description{color:#9f9f9f;font-size:.8em;line-height:2em;font-style:normal}.rss_pi-table tbody tr.edit-row table tr td input,.rss_pi-table tbody tr.edit-row table tr td textarea{padding:8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.rss_pi-table tbody tr.edit-row table tr td .radiolist li label{font-weight:400;display:inline-block}.rss_pi-table tbody tr.edit-row table tr td .radiolist li label input{display:inline-block;width:auto;margin-right:10px}.rss_pi-table tbody tr.data-row.show td{background:#2a95c5;background:-webkit-gradient(linear,left bottom,left top,color-stop(0,#185571),color-stop(1,#2a95c5));background:-ms-linear-gradient(bottom,#185571,#2a95c5);background:-moz-linear-gradient(center bottom,#185571 0,#2a95c5 100%);background:-o-linear-gradient(#2a95c5,#185571);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2a95c5', endColorstr='#185571', GradientType=0);border-top:1px solid #2a95c5;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.5)}.rss_pi-table tbody tr.data-row.show td a{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.5)}.rss_pi-table tbody tr td{border-bottom:1px solid #E1E1E1;padding:10px}.rss_pi-table tbody tr td .row-options{visibility:hidden}.rss_pi-table tbody tr:hover .row-options{visibility:visible}.rss_pi-table tfoot tr td{padding:10px;text-align:right}.rss_pi-table code{display: block;float: left;clear: both;padding: 3px 5px;font-size: 0.9em;background: none;border: 1px #eaeaea solid;}a.delete-row {color: #a00;}a.delete-row:hover{color: red;}.rss-pi-error{margin: 5px 0 15px;border-left: 4px solid #dd3d36;background: #fff;box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);padding: 1px 12px;} .selectit > input,.tags_container input {
50
+
51
+ width: 4% !important;
52
+
53
+ }
54
+
55
+ label.selectit,.tags_container label{ color:#555555 !important; font-weight: normal !important; }
56
+
57
+ div.category_container ul.children{
58
+
59
+ margin-bottom: 6px;
60
+
61
+ margin-top: 7px;
62
+
63
+ }
64
+
65
+ div.category_container,div.tags_container{
66
+
67
+ height: 205px;
68
+
69
+ overflow: auto;
70
+
71
+ }
72
+
73
+ .rss_pi_stat_div {
74
+ height: 500px;
75
+ margin: 50px auto;
76
+ width: 800px !important;
77
+ }
78
+
79
+ .rss_pi_stats_date {
80
+ margin: 30px auto;
81
+ width: 90%;
82
+ }
83
+
84
+ .rss_filter_heading {
85
+ font-weight: bold;
86
+ }
87
+
88
+ .rss_no_data_available {
89
+ padding: 20px;
90
+ text-align: center;
91
  }
app/assets/js/main.js CHANGED
@@ -72,6 +72,9 @@ jQuery('document').ready(function(){
72
  return false;
73
  });
74
 
 
 
 
75
  });
76
 
77
  function update_ids()
72
  return false;
73
  });
74
 
75
+ jQuery("#from_date" ).datepicker();
76
+ jQuery("#till_date" ).datepicker();
77
+
78
  });
79
 
80
  function update_ids()
app/classes/admin/class-rss-pi-admin.php CHANGED
@@ -103,9 +103,20 @@ class rssPIAdmin {
103
  }
104
 
105
  // register scripts & styles
106
- wp_enqueue_script('rss-pi', RSS_PI_URL . 'app/assets/js/main.js', array('jquery'), RSS_PI_VERSION);
107
  wp_enqueue_style('rss-pi', RSS_PI_URL . 'app/assets/css/style.css', array(), RSS_PI_VERSION);
108
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  // localise ajaxuel for use
110
  $localise_args = array(
111
  'ajaxurl' => admin_url('admin-ajax.php')
103
  }
104
 
105
  // register scripts & styles
 
106
  wp_enqueue_style('rss-pi', RSS_PI_URL . 'app/assets/css/style.css', array(), RSS_PI_VERSION);
107
 
108
+ wp_enqueue_style('rss-pi-jquery-ui-css',
109
+ 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/smoothness/jquery-ui.css',
110
+ false,
111
+ RSS_PI_VERSION,
112
+ false);
113
+
114
+ wp_enqueue_script( 'jquery-ui-core' );
115
+
116
+ wp_enqueue_script( 'jquery-ui-datepicker' );
117
+
118
+ wp_enqueue_script('rss-pi', RSS_PI_URL . 'app/assets/js/main.js', array('jquery'), RSS_PI_VERSION);
119
+
120
  // localise ajaxuel for use
121
  $localise_args = array(
122
  'ajaxurl' => admin_url('admin-ajax.php')
app/classes/admin/class-rss-pi-stats.php ADDED
@@ -0,0 +1,439 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * Calculates and shows graphical stats
5
+ *
6
+ * @author Pramod Jodhani<mrpramodjodhani@gmail.com>
7
+ */
8
+
9
+ if(!class_exists("Rss_pi_stats")) {
10
+
11
+ class Rss_pi_stats {
12
+
13
+
14
+ function show_charts() {
15
+
16
+ $feeds = get_option("rss_pi_feeds" , array());
17
+
18
+ $oldest_post = $this->get_the_oldest_post();
19
+ $newest_post = $this->get_the_newest_post();
20
+
21
+ $start_time = "";
22
+ $end_time = "";
23
+ if(
24
+ isset($_POST["rss_filter_stats"]) &&
25
+ isset($_POST["rss_from_date"]) &&
26
+ isset($_POST["rss_till_date"]) ) {
27
+
28
+ $start_time = strtotime($_POST["rss_from_date"]);
29
+ $end_time = strtotime($_POST["rss_till_date"]);
30
+
31
+ }
32
+ else {
33
+ $start_time = get_the_time( "U", $oldest_post );
34
+ $end_time = get_the_time( "U", $newest_post );
35
+ }
36
+
37
+ $pie_feeds_data = $this->get_pie_chart_data_between($start_time , $end_time);
38
+ $line_feeds_data = $this->get_line_chart_data_between($start_time , $end_time);
39
+ $bar_feeds_data = $this->get_bar_chart_data_between($start_time , $end_time);
40
+
41
+ ?>
42
+ <script type="text/javascript"
43
+ src="https://www.google.com/jsapi?autoload={
44
+ 'modules':[{
45
+ 'name':'visualization',
46
+ 'version':'1.1',
47
+ 'packages':['corechart' , 'bar']
48
+ }]
49
+ }"></script>
50
+ <script type="text/javascript">
51
+ //google.load("visualization", "1.1", {packages:["bar"]});
52
+ google.setOnLoadCallback(drawChart);
53
+
54
+ function drawChart() {
55
+
56
+ <?php
57
+ if( isset($feeds["feeds"]) && is_array($feeds["feeds"]) ) {
58
+
59
+
60
+ $this->draw_line_charts_js($line_feeds_data , $feeds );
61
+ $this->draw_pie_chart_js($pie_feeds_data , $feeds );
62
+ $this->draw_bar_chart_js($bar_feeds_data , $feeds );
63
+
64
+ }
65
+ ?>
66
+
67
+
68
+ }
69
+
70
+ </script>
71
+
72
+ <?php
73
+ if( isset($feeds["feeds"]) && is_array($feeds["feeds"]) ) {
74
+ $this->show_date_pickers();
75
+ echo '<div class="rss_pi_stat_div" id="rsspi_chart_line" style=""></div>';
76
+ echo '<div class="rss_pi_stat_div" id="rsspi_chart_pie" style=""></div>';
77
+ echo '<div class="rss_pi_stat_div" id="rsspi_chart_bar" style=""></div>';
78
+ }
79
+ else {
80
+ echo "<div class='rss_no_data_available'>No data avaibale to be shown.</div>";
81
+ }
82
+ ?>
83
+ <?php
84
+
85
+
86
+ }
87
+
88
+ /*
89
+ * Prints the line chart between two dates
90
+ * param $start_time : timestamp
91
+ * param $end_time : timestamp
92
+ */
93
+ function get_line_chart_data_between($start_time, $end_time ) {
94
+
95
+ $dates = $this->get_all_dates_between($start_time, $end_time );
96
+
97
+ $feeds = get_option("rss_pi_feeds" , array());
98
+
99
+ $data = array();
100
+
101
+ if(isset($feeds["feeds"]) && is_array($feeds["feeds"])) {
102
+
103
+ foreach($feeds["feeds"] as $feed) {
104
+ $feedname = $feed["name"];
105
+ $feedurl = $feed["url"];
106
+ foreach($dates as $date) {
107
+
108
+ $key = date("d-m-Y", $date);
109
+ $data[$key][$feedname] = $this->get_feedcount_for($feedurl , $date );
110
+
111
+ }
112
+ }
113
+
114
+ }
115
+
116
+
117
+ return $data;
118
+
119
+ }
120
+
121
+ function get_feedcount_for($feedurl , $date) {
122
+
123
+ $year = date("Y", $date);
124
+ $month = date("m", $date);
125
+ $day = date("d", $date);
126
+
127
+ $parse = parse_url($feedurl);
128
+ $url = $parse['host'];
129
+
130
+ $args = array(
131
+ "date_query" => array(
132
+ array(
133
+ "year" => $year,
134
+ "month" => $month,
135
+ "day" => $day,
136
+ ),
137
+ 'inclusive' => true,
138
+ ),
139
+ 'meta_query' => array(
140
+ array(
141
+ 'key' => "rss_pi_source_url",
142
+ 'value' => $url,
143
+ 'compare' => 'LIKE',
144
+ ),
145
+ ),
146
+ 'posts_per_page' => -1,
147
+ );
148
+
149
+ $posts = get_posts($args);
150
+
151
+ return count($posts);
152
+
153
+
154
+ }
155
+
156
+ function get_all_dates_between($strDateFrom,$strDateTo)
157
+ {
158
+
159
+ $aryRange=array();
160
+
161
+ if ($strDateTo>=$strDateFrom)
162
+ {
163
+ $aryRange[] = $strDateFrom; // first entry
164
+
165
+ while ($strDateFrom < $strDateTo)
166
+ {
167
+ $strDateFrom+=86400; // add 24 hours
168
+ $aryRange[] = $strDateFrom;
169
+ }
170
+ }
171
+
172
+ return $aryRange;
173
+ }
174
+
175
+
176
+ function get_the_oldest_post() {
177
+
178
+ $args = array(
179
+ "posts_per_page" => 1,
180
+ "order" => "ASC",
181
+ "orderby" => "date",
182
+ "meta_key" => "rss_pi_source_url",
183
+ );
184
+
185
+ $post = get_posts($args);
186
+
187
+ return $post[0];
188
+
189
+ }
190
+
191
+
192
+ function get_the_newest_post() {
193
+
194
+ $args = array(
195
+ "posts_per_page" => 1,
196
+ "order" => "DESC",
197
+ "orderby" => "date",
198
+ "meta_key" => "rss_pi_source_url",
199
+ );
200
+
201
+ $post = get_posts($args);
202
+
203
+ return $post[0];
204
+
205
+ }
206
+
207
+
208
+ function draw_line_charts_js( $feeds_data , $feeds ) {
209
+ ?>
210
+ var data_line_chart = google.visualization.arrayToDataTable([
211
+ <?php
212
+
213
+ $feednames = "";
214
+
215
+ foreach($feeds["feeds"] as $feed ) {
216
+ $feednames .= "'".$feed["name"]."', ";
217
+ }
218
+
219
+ //Generating the following:
220
+ //['Year', 'Sales', 'Expenses'],
221
+ echo "[ 'Date' , $feednames ], \n";
222
+
223
+ //Generating the following:
224
+ //['2004', 1000, 400],
225
+ foreach($feeds_data as $date=>$data) {
226
+ echo "[ '$date' ,";
227
+
228
+ $i = 1;
229
+ foreach($data as $d) {
230
+
231
+ echo "".$d.",";
232
+
233
+ //if last data
234
+ if(count($data) == $i) {
235
+ echo "], \n";
236
+ }
237
+ $i++;
238
+
239
+ } //foreach $data
240
+
241
+ } //foreach $feeds_data
242
+
243
+ ?>
244
+
245
+
246
+ ]);
247
+
248
+ var options_line_chart = {
249
+ title: 'Feeds Imported',
250
+ curveType: 'none',
251
+ legend: { position: 'bottom' }
252
+ };
253
+
254
+ var chart = new google.visualization.LineChart(document.getElementById('rsspi_chart_line'));
255
+
256
+ chart.draw(data_line_chart, options_line_chart);
257
+ <?php
258
+
259
+ } //draw_line_charts_js
260
+
261
+
262
+ function draw_pie_chart_js($pie_feeds_data , $feeds) {
263
+
264
+ //$data_pie = get_pie_data();
265
+ ?>
266
+ var data_pie_chart = google.visualization.arrayToDataTable([
267
+ <?php
268
+ echo "['Feed', 'Posts imported'], \n";
269
+
270
+ foreach($pie_feeds_data as $feed=>$import_count) {
271
+ echo "['".$feed."' , $import_count ], \n";
272
+ }
273
+ ?>
274
+ ]);
275
+
276
+ var options_pie_chart = {
277
+ title: 'Feeds Share',
278
+ is3D: true,
279
+ };
280
+
281
+ var chart = new google.visualization.PieChart(document.getElementById('rsspi_chart_pie'));
282
+ chart.draw(data_pie_chart, options_pie_chart);
283
+
284
+ <?php
285
+
286
+ } // draw_pie_chart_js
287
+
288
+
289
+
290
+ function get_pie_chart_data_between($start_time , $end_time) {
291
+
292
+ $feeds = get_option("rss_pi_feeds" , array());
293
+
294
+ $s_year = date("Y", $start_time);
295
+ $s_month = date("m", $start_time);
296
+ $s_day = date("d", $start_time);
297
+
298
+ $e_year = date("Y", $end_time);
299
+ $e_month = date("m", $end_time);
300
+ $e_day = date("d", $end_time);
301
+
302
+ $data = array();
303
+
304
+ //pre($feeds); exit;
305
+ if(isset($feeds["feeds"]) && is_array($feeds["feeds"])) {
306
+
307
+ foreach($feeds["feeds"] as $feed) {
308
+
309
+ $data[$feed["name"]] = 0;
310
+
311
+ $domain = $this->get_domain($feed["url"]);
312
+
313
+
314
+ $args = array(
315
+ "date_query" => array(
316
+ "after" => array(
317
+ "year" => $s_year,
318
+ "month" => $s_month,
319
+ "day" => $s_day,
320
+ ),
321
+ "before" => array(
322
+ "year" => $e_year,
323
+ "month" => $e_month,
324
+ "day" => $e_day,
325
+ ),
326
+ 'inclusive' => true,
327
+
328
+ ),
329
+ 'meta_query' => array(
330
+ array(
331
+ 'key' => "rss_pi_source_url",
332
+ 'value' => $domain,
333
+ 'compare' => 'LIKE',
334
+ ),
335
+ ),
336
+
337
+ 'posts_per_page' => -1,
338
+ );
339
+
340
+ $posts = get_posts($args);
341
+ $data[$feed["name"]] = count($posts);
342
+ }
343
+ }
344
+
345
+ return $data;
346
+
347
+ } // get_pie_chart_data_between
348
+
349
+ function get_domain($url) {
350
+ $parse = parse_url($url);
351
+ $url = $parse['host'];
352
+ return $url;
353
+ }
354
+
355
+ function get_bar_chart_data_between($start_time , $end_time) {
356
+
357
+ $feeds = get_option("rss_pi_feeds" , array());
358
+
359
+ $data = array();
360
+
361
+ $dates = $this->get_all_dates_between($start_time , $end_time);
362
+
363
+ foreach($dates as $date) {
364
+
365
+ $year = date("Y", $date);
366
+ $month = date("m", $date);
367
+ $day = date("d", $date);
368
+
369
+ $args = array(
370
+ "date_query" => array(
371
+ array(
372
+ "year" => $year,
373
+ "month" => $month,
374
+ "day" => $day,
375
+ ),
376
+ 'inclusive' => true,
377
+
378
+ ),
379
+
380
+ "meta_key" => "rss_pi_source_url",
381
+ "posts_per_page" => -1,
382
+ );
383
+
384
+ $posts = get_posts($args);
385
+
386
+ $date = date("d-m-Y", $date);
387
+
388
+ $data[$date] = count($posts);
389
+
390
+
391
+ }
392
+
393
+ return $data;
394
+ }
395
+
396
+
397
+ function draw_bar_chart_js($bar_feeds_data , $feeds ) {
398
+ ?>
399
+ var data_bar = google.visualization.arrayToDataTable([
400
+ ['Date', 'Posts Imported' ],
401
+ <?php
402
+ foreach($bar_feeds_data as $date=>$count) {
403
+ echo "['".$date."', $count], \n";
404
+ }
405
+ ?>
406
+ ]);
407
+
408
+ var bar_options = {
409
+ chart: {
410
+ title: 'Total posts imported everyday',
411
+ subtitle: '',
412
+ },
413
+ bars: 'vertical' // Required for Material Bar Charts.
414
+ };
415
+
416
+ var bar_chart = new google.charts.Bar(document.getElementById('rsspi_chart_bar'));
417
+
418
+ bar_chart.draw(data_bar, bar_options);
419
+
420
+ <?php
421
+ }
422
+
423
+ function show_date_pickers() {
424
+ ?>
425
+ <div class="rss_pi_stats_date">
426
+ <div class="rss_filter_heading">Filter results:</div>
427
+ <hr>
428
+ <label>From: <input type="text" id="from_date" name="rss_from_date" value="<?php echo (isset($_POST["rss_from_date"]))? $_POST["rss_from_date"] : ""; ?>" /> </label>
429
+ <label>Till: <input type="text" id="till_date" name="rss_till_date" value="<?php echo (isset($_POST["rss_till_date"]))? $_POST["rss_till_date"] : ""; ?>" /> </label>
430
+ <input type="submit" name="rss_filter_stats" class="button button-primary button-large " value="Filter">
431
+ <br>
432
+ </div>
433
+ <?php
434
+ }
435
+ } // CLass Rss_pi_stats
436
+ }
437
+
438
+
439
+ ?>
app/classes/front/class-rss-pi-front.php CHANGED
@@ -1,117 +1,236 @@
1
- <?php
2
-
3
- /**
4
- * The class that handles the front screen
5
- *
6
- *
7
- */
8
- class rssPIFront {
9
-
10
- /**
11
- * Whether the API key is valid
12
- *
13
- * @var boolean
14
- */
15
- var $is_key_valid;
16
-
17
- /**
18
- * The options
19
- *
20
- * @var array
21
- */
22
- var $options;
23
-
24
- /**
25
- * Aprompt for invalid/absent API keys
26
- * @var string
27
- */
28
- var $key_prompt;
29
-
30
- /**
31
- * Initialise and hook all actions
32
- */
33
- public function init() {
34
- global $post,$rss_post_importer;
35
- // add noidex to front
36
- add_action('wp_head', array($this, 'rss_pi_noindex_meta_tag'));
37
-
38
- // add options
39
- $this->options = $rss_post_importer->options;
40
-
41
- // Check for block indexing
42
- if($this->options['settings']['nofollow_outbound'] == 'true'){
43
- add_filter( 'the_content', array($this, 'rss_pi_url_parse'));
44
- }
45
- }
46
-
47
-
48
- function rss_pi_noindex_meta_tag()
49
- {
50
- global $post,$rss_post_importer;
51
- // Check if single post
52
- if(is_single())
53
- {
54
-
55
- // Get current post id
56
- $current_post_id = $post->ID;
57
-
58
- // add options
59
- $this->options = $rss_post_importer->options;
60
-
61
- // get value of block indexing
62
- $block_indexing = $this->options['settings']['block_indexing'];
63
-
64
- // Check for block indexing
65
- if($this->options['settings']['block_indexing'] == 'true'){
66
- $meta_values = get_post_meta( $current_post_id, 'rss_pi_source_url', false );
67
- // if meta value array is empty it means post is not imported by this plugin.
68
- if(!empty($meta_values)){
69
- echo '<meta name="robots" content="noindex">';
70
- }
71
- }
72
- }
73
- }
74
-
75
-
76
- function rss_pi_url_parse( $content ) {
77
-
78
- $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>";
79
- if(preg_match_all("/$regexp/siU", $content, $matches, PREG_SET_ORDER)) {
80
- if( !empty($matches) ) {
81
-
82
- $srcUrl = get_option('home');
83
- for ($i=0; $i < count($matches); $i++)
84
- {
85
-
86
- $tag = $matches[$i][0];
87
- $tag2 = $matches[$i][0];
88
- $url = $matches[$i][0];
89
-
90
- $noFollow = '';
91
-
92
- $pattern = '/target\s*=\s*"\s*_blank\s*"/';
93
- preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);
94
- if( count($match) < 1 )
95
- $noFollow .= ' target="_blank" ';
96
-
97
- $pattern = '/rel\s*=\s*"\s*[n|d]ofollow\s*"/';
98
- preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);
99
- if( count($match) < 1 )
100
- $noFollow .= ' rel="nofollow" ';
101
-
102
- $pos = strpos($url,$srcUrl);
103
- if ($pos === false) {
104
- $tag = rtrim ($tag,'>');
105
- $tag .= $noFollow.'>';
106
- $content = str_replace($tag2,$tag,$content);
107
- }
108
- }
109
- }
110
- }
111
-
112
- $content = str_replace(']]>', ']]&gt;', $content);
113
- return $content;
114
-
115
- }
116
-
117
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+
5
+ /**
6
+
7
+ * The class that handles the front screen
8
+
9
+ *
10
+
11
+ *
12
+
13
+ */
14
+
15
+ class rssPIFront {
16
+
17
+
18
+
19
+ /**
20
+
21
+ * Whether the API key is valid
22
+
23
+ *
24
+
25
+ * @var boolean
26
+
27
+ */
28
+
29
+ var $is_key_valid;
30
+
31
+
32
+
33
+ /**
34
+
35
+ * The options
36
+
37
+ *
38
+
39
+ * @var array
40
+
41
+ */
42
+
43
+ var $options;
44
+
45
+
46
+
47
+ /**
48
+
49
+ * Aprompt for invalid/absent API keys
50
+
51
+ * @var string
52
+
53
+ */
54
+
55
+ var $key_prompt;
56
+
57
+
58
+
59
+ /**
60
+
61
+ * Initialise and hook all actions
62
+
63
+ */
64
+
65
+ public function init() {
66
+
67
+ global $post,$rss_post_importer;
68
+
69
+ // add noidex to front
70
+
71
+ add_action('wp_head', array($this, 'rss_pi_noindex_meta_tag'));
72
+
73
+
74
+
75
+ // add options
76
+
77
+ $this->options = $rss_post_importer->options;
78
+
79
+
80
+
81
+ // Check for block indexing
82
+
83
+ if($this->options['settings']['nofollow_outbound'] == 'true'){
84
+
85
+ add_filter( 'the_content', array($this, 'rss_pi_url_parse'));
86
+
87
+ }
88
+
89
+ }
90
+
91
+
92
+
93
+
94
+
95
+ function rss_pi_noindex_meta_tag()
96
+
97
+ {
98
+
99
+ global $post,$rss_post_importer;
100
+
101
+ //Add meta tag for UTF-8 character encoding.
102
+ echo '<meta http-equiv="Content-type" content="text/html; charset=utf-8" />';
103
+
104
+ // Check if single post
105
+ if(is_single())
106
+
107
+ {
108
+
109
+
110
+
111
+ // Get current post id
112
+
113
+ $current_post_id = $post->ID;
114
+
115
+
116
+
117
+ // add options
118
+
119
+ $this->options = $rss_post_importer->options;
120
+
121
+
122
+
123
+ // get value of block indexing
124
+
125
+ $block_indexing = $this->options['settings']['block_indexing'];
126
+
127
+
128
+
129
+ // Check for block indexing
130
+
131
+ if($this->options['settings']['block_indexing'] == 'true'){
132
+
133
+ $meta_values = get_post_meta( $current_post_id, 'rss_pi_source_url', false );
134
+
135
+ // if meta value array is empty it means post is not imported by this plugin.
136
+
137
+ if(!empty($meta_values)){
138
+
139
+ echo '<meta name="robots" content="noindex">';
140
+
141
+ }
142
+
143
+ }
144
+
145
+ }
146
+
147
+ }
148
+
149
+
150
+
151
+
152
+
153
+ function rss_pi_url_parse( $content ) {
154
+
155
+
156
+
157
+ $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>";
158
+
159
+ if(preg_match_all("/$regexp/siU", $content, $matches, PREG_SET_ORDER)) {
160
+
161
+ if( !empty($matches) ) {
162
+
163
+
164
+
165
+ $srcUrl = get_option('home');
166
+
167
+ for ($i=0; $i < count($matches); $i++)
168
+
169
+ {
170
+
171
+
172
+
173
+ $tag = $matches[$i][0];
174
+
175
+ $tag2 = $matches[$i][0];
176
+
177
+ $url = $matches[$i][0];
178
+
179
+
180
+
181
+ $noFollow = '';
182
+
183
+
184
+
185
+ $pattern = '/target\s*=\s*"\s*_blank\s*"/';
186
+
187
+ preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);
188
+
189
+ if( count($match) < 1 )
190
+
191
+ $noFollow .= ' target="_blank" ';
192
+
193
+
194
+
195
+ $pattern = '/rel\s*=\s*"\s*[n|d]ofollow\s*"/';
196
+
197
+ preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);
198
+
199
+ if( count($match) < 1 )
200
+
201
+ $noFollow .= ' rel="nofollow" ';
202
+
203
+
204
+
205
+ $pos = strpos($url,$srcUrl);
206
+
207
+ if ($pos === false) {
208
+
209
+ $tag = rtrim ($tag,'>');
210
+
211
+ $tag .= $noFollow.'>';
212
+
213
+ $content = str_replace($tag2,$tag,$content);
214
+
215
+ }
216
+
217
+ }
218
+
219
+ }
220
+
221
+ }
222
+
223
+
224
+
225
+ $content = str_replace(']]>', ']]&gt;', $content);
226
+
227
+ return $content;
228
+
229
+
230
+
231
+ }
232
+
233
+
234
+
235
+ }
236
+
app/classes/import/class-rss-pi-engine.php CHANGED
@@ -648,13 +648,13 @@ class rssPIEngine {
648
 
649
  $content = $post["post_content"];
650
 
 
 
 
 
 
651
 
652
-
653
- // catch base url
654
-
655
- if (preg_match('/src="\//i', $content)) {
656
-
657
- preg_match('/href="(.+?)"/i', $content, $matches);
658
 
659
  $baseref = (is_array($matches) && !empty($matches)) ? $matches[1] : '';
660
 
@@ -691,7 +691,7 @@ class rssPIEngine {
691
 
692
 
693
  //elminatins unnecessary characterss
694
- $post["post_content"] = str_replace("Â", "", $post["post_content"]);
695
 
696
  // insert as post
697
  $post_id = $this->_insert($post, $item->get_permalink());
648
 
649
  $content = $post["post_content"];
650
 
651
+ // Added header for UTF-8 encoding for imported feeds characters
652
+ header( 'Content-Type: text/html; charset=UTF-8' );
653
+
654
+ // catch base url
655
+ if (preg_match('/src="\//ui', $content)) {
656
 
657
+ preg_match('/href="(.+?)"/ui', $content, $matches);
 
 
 
 
 
658
 
659
  $baseref = (is_array($matches) && !empty($matches)) ? $matches[1] : '';
660
 
691
 
692
 
693
  //elminatins unnecessary characterss
694
+ //$post["post_content"] = str_replace("Â", "", $post["post_content"]);
695
 
696
  // insert as post
697
  $post_id = $this->_insert($post, $item->get_permalink());
app/templates/admin-ui.php CHANGED
@@ -21,6 +21,7 @@
21
  <?php
22
  include_once RSS_PI_PATH. 'app/templates/feed-table.php';
23
  include_once RSS_PI_PATH. 'app/templates/settings-table.php';
 
24
  ?>
25
  </div>
26
 
21
  <?php
22
  include_once RSS_PI_PATH. 'app/templates/feed-table.php';
23
  include_once RSS_PI_PATH. 'app/templates/settings-table.php';
24
+ include_once RSS_PI_PATH. 'app/templates/stats.php';
25
  ?>
26
  </div>
27
 
app/templates/stats.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $stats = new Rss_pi_stats();
4
+
5
+ ?>
6
+ <table class="widefat rss_pi-table" id="rss_pi-table">
7
+ <thead>
8
+ <tr>
9
+ <th colspan="5"><?php _e('Stats', 'rss_pi'); ?></th>
10
+ </tr>
11
+ </thead>
12
+ <tbody class="setting-rows">
13
+ <tr class="edit-row show">
14
+ <td>
15
+ <?php
16
+ $stats->show_charts();
17
+ ?>
18
+ </td>
19
+ <td></td>
20
+ </tr>
21
+ </tbody>
22
+ </table>
index.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin URI: https://wordpress.org/plugins/rss-post-importer/
6
  Description: This plugin lets you set up an import posts from one or several rss-feeds and save them as posts on your site, simple and flexible.
7
  Author: feedsapi
8
- Version: 2.0.15
9
  Author URI: https://www.feedsapi.org/
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -28,7 +28,7 @@ if (!defined('RSS_PI_BASENAME')) {
28
  }
29
 
30
  if (!defined('RSS_PI_VERSION')) {
31
- define('RSS_PI_VERSION', '2.0.15');
32
  }
33
 
34
  if (!defined('RSS_PI_LOG_PATH')) {
@@ -48,6 +48,7 @@ include_once RSS_PI_PATH . 'app/classes/helpers/class-rss-pi-parser.php';
48
  include_once RSS_PI_PATH . 'app/classes/admin/class-rss-pi-admin-processor.php';
49
  include_once RSS_PI_PATH . 'app/classes/admin/class-rss-pi-admin.php';
50
  include_once RSS_PI_PATH . 'app/classes/admin/class-rss-pi-export-to-csv.php';
 
51
 
52
  // Front classes
53
  include_once RSS_PI_PATH . 'app/classes/front/class-rss-pi-front.php';
5
  Plugin URI: https://wordpress.org/plugins/rss-post-importer/
6
  Description: This plugin lets you set up an import posts from one or several rss-feeds and save them as posts on your site, simple and flexible.
7
  Author: feedsapi
8
+ Version: 2.0.16
9
  Author URI: https://www.feedsapi.org/
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
28
  }
29
 
30
  if (!defined('RSS_PI_VERSION')) {
31
+ define('RSS_PI_VERSION', '2.0.16');
32
  }
33
 
34
  if (!defined('RSS_PI_LOG_PATH')) {
48
  include_once RSS_PI_PATH . 'app/classes/admin/class-rss-pi-admin-processor.php';
49
  include_once RSS_PI_PATH . 'app/classes/admin/class-rss-pi-admin.php';
50
  include_once RSS_PI_PATH . 'app/classes/admin/class-rss-pi-export-to-csv.php';
51
+ include_once RSS_PI_PATH . 'app/classes/admin/class-rss-pi-stats.php';
52
 
53
  // Front classes
54
  include_once RSS_PI_PATH . 'app/classes/front/class-rss-pi-front.php';
readme.txt CHANGED
@@ -12,7 +12,7 @@ Requires at least: 3.5
12
 
13
  Tested up to: 4.1
14
 
15
- Stable tag: 2.0.15
16
 
17
  License: GPLv2 or later
18
 
@@ -163,6 +163,12 @@ WP-o-Matic , WP-o-Matic, RSSImport, FeedWordPress, Syndicate Press, FeedWeb, RSS
163
 
164
  == Change Log ==
165
 
 
 
 
 
 
 
166
  = Version 2.0.15 =
167
 
168
  * Duplicate post issue
12
 
13
  Tested up to: 4.1
14
 
15
+ Stable tag: 2.0.16
16
 
17
  License: GPLv2 or later
18
 
163
 
164
  == Change Log ==
165
 
166
+ = Version 2.0.16 =
167
+
168
+ * Added advanced stats
169
+ * Fixed encoding issues
170
+
171
+
172
  = Version 2.0.15 =
173
 
174
  * Duplicate post issue