├── tags ├── 0.5.0 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ ├── afb-de_DE.mo │ │ └── afb.pot │ ├── afb_instant_articles.php │ ├── inc │ │ └── lhafb_ia.core.php │ ├── templates │ │ └── feed-instant_articles.php │ └── readme.txt ├── 0.5.1 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ ├── afb-de_DE.mo │ │ └── afb.pot │ ├── afb_instant_articles.php │ ├── inc │ │ └── lhafb_ia.core.php │ ├── templates │ │ └── feed-instant_articles.php │ └── readme.txt ├── 0.5.2 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ ├── afb-de_DE.mo │ │ └── afb.pot │ ├── inc │ │ ├── lhafb_ia.core.php │ │ └── lhafb_ia.filters.php │ ├── afb_instant_articles.php │ └── templates │ │ └── feed-instant_articles.php ├── 0.5.3 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── afb_instant_articles.php │ ├── inc │ │ └── lhafb_ia.core.php │ └── templates │ │ └── feed-instant_articles.php ├── 0.5.4 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── afb_instant_articles.php │ ├── inc │ │ └── lhafb_ia.core.php │ └── templates │ │ └── feed-instant_articles.php ├── 0.5.5 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── afb_instant_articles.php │ ├── inc │ │ └── lhafb_ia.core.php │ └── templates │ │ └── feed-instant_articles.php ├── 0.5.6 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── afb_instant_articles.php │ ├── inc │ │ └── lhafb_ia.core.php │ └── templates │ │ └── feed-instant_articles.php ├── 0.5.7 │ ├── js │ │ └── afb_ia.min.js │ ├── afb_instant_articles.php │ └── lang │ │ └── afb-de_DE.mo ├── 0.5.8 │ ├── js │ │ └── afb_ia.min.js │ ├── afb_instant_articles.php │ └── lang │ │ └── afb-de_DE.mo ├── 0.5.9 │ ├── js │ │ └── afb_ia.min.js │ ├── afb_instant_articles.php │ └── lang │ │ └── afb-de_DE.mo ├── 0.6.0 │ ├── js │ │ └── afb_ia.min.js │ ├── afb_instant_articles.php │ └── lang │ │ └── afb-de_DE.mo ├── 0.6.1 │ ├── js │ │ └── afb_ia.min.js │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.7.0 │ ├── js │ │ └── afb_ia.min.js │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.7.1 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.7.2 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.7.3 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.8.0 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.8.1 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.8.2 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.8.3 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── inc │ │ └── lhafb_ia.jetpack-support.php │ └── afb_instant_articles.php ├── 0.8.4 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── inc │ │ └── lhafb_ia.jetpack-support.php │ └── afb_instant_articles.php ├── 0.8.5 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── inc │ │ └── lhafb_ia.jetpack-support.php │ └── afb_instant_articles.php ├── 0.8.6 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── inc │ │ └── lhafb_ia.jetpack-support.php │ └── afb_instant_articles.php ├── 0.8.7 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── inc │ │ └── lhafb_ia.jetpack-support.php │ └── afb_instant_articles.php ├── 0.8.8 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── inc │ │ └── lhafb_ia.jetpack-support.php │ └── afb_instant_articles.php ├── 0.8.9 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.9.0 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.9.1 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── allfacebook-instant-articles-de_DE.mo │ ├── admin │ │ └── admin.min.js │ ├── afb_instant_articles.php │ └── inc │ │ └── lhafb_ia.jetpack-support.php ├── 0.5.6.1 │ ├── js │ │ └── afb_ia.min.js │ ├── lang │ │ └── afb-de_DE.mo │ ├── afb_instant_articles.php │ ├── inc │ │ └── lhafb_ia.core.php │ └── templates │ │ └── feed-instant_articles.php └── 0.5.6.2 │ ├── js │ └── afb_ia.min.js │ ├── afb_instant_articles.php │ ├── lang │ └── afb-de_DE.mo │ ├── inc │ └── lhafb_ia.core.php │ └── templates │ └── feed-instant_articles.php ├── .eslintignore ├── .gitignore ├── assets ├── banner-772x250.png ├── icon-1000x1000.psd ├── icon-256x256.png ├── screenshot-1.png ├── banner-1544x500.png └── banner-1544x500.psd ├── .csslintrc ├── archives ├── allfacebook-instant-articles.0.5.0.zip ├── allfacebook-instant-articles.0.5.1.zip ├── allfacebook-instant-articles.0.5.2.zip ├── allfacebook-instant-articles.0.5.3.zip ├── allfacebook-instant-articles.0.5.4.zip ├── allfacebook-instant-articles.0.5.5.zip ├── allfacebook-instant-articles.0.5.6.zip ├── allfacebook-instant-articles.0.5.7.zip ├── allfacebook-instant-articles.0.5.8.zip ├── allfacebook-instant-articles.0.5.9.zip ├── allfacebook-instant-articles.0.6.0.zip ├── allfacebook-instant-articles.0.6.1.zip ├── allfacebook-instant-articles.0.7.0.zip ├── allfacebook-instant-articles.0.7.1.zip ├── allfacebook-instant-articles.0.7.2.zip ├── allfacebook-instant-articles.0.7.3.zip ├── allfacebook-instant-articles.0.8.0.zip ├── allfacebook-instant-articles.0.8.1.zip ├── allfacebook-instant-articles.0.8.2.zip ├── allfacebook-instant-articles.0.8.3.zip ├── allfacebook-instant-articles.0.8.4.zip ├── allfacebook-instant-articles.0.8.5.zip ├── allfacebook-instant-articles.0.8.6.zip ├── allfacebook-instant-articles.0.8.7.zip ├── allfacebook-instant-articles.0.8.8.zip ├── allfacebook-instant-articles.0.8.9.zip ├── allfacebook-instant-articles.0.9.0.zip ├── allfacebook-instant-articles.0.9.1.zip ├── allfacebook_instant_articles.0.7.1.zip ├── allfacebook-instant-articles.0.5.6.1.zip └── allfacebook-instant-articles.0.5.6.2.zip ├── svnignore.txt ├── ISSUE_TEMPLATE.md ├── .codeclimate.yml ├── package.json ├── README.md └── CONTRIBUTING.md /tags/0.5.0/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.1/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.2/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.3/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.4/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.5/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.6/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.7/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.8/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.9/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.6.0/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.6.1/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.7.0/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.7.1/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.7.2/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.7.3/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.0/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.1/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.2/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.3/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.4/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.5/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.6/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.7/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.8/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.8.9/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.9.0/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.9.1/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | **/*{.,-}min.js 2 | -------------------------------------------------------------------------------- /tags/0.5.6.1/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tags/0.5.6.2/js/afb_ia.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .svn 3 | trunk 4 | 5 | # Ignore OS X .DS_Store files 6 | .DS_Store -------------------------------------------------------------------------------- /assets/banner-772x250.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/assets/banner-772x250.png -------------------------------------------------------------------------------- /assets/icon-1000x1000.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/assets/icon-1000x1000.psd -------------------------------------------------------------------------------- /assets/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/assets/icon-256x256.png -------------------------------------------------------------------------------- /assets/screenshot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/assets/screenshot-1.png -------------------------------------------------------------------------------- /.csslintrc: -------------------------------------------------------------------------------- 1 | --exclude-exts=.min.css 2 | --ignore=adjoining-classes,box-model,ids,order-alphabetical,unqualified-attributes 3 | -------------------------------------------------------------------------------- /assets/banner-1544x500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/assets/banner-1544x500.png -------------------------------------------------------------------------------- /assets/banner-1544x500.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/assets/banner-1544x500.psd -------------------------------------------------------------------------------- /tags/0.7.1/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.7.1/lang/afb-de_DE.mo -------------------------------------------------------------------------------- /tags/0.7.2/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.7.2/lang/afb-de_DE.mo -------------------------------------------------------------------------------- /tags/0.7.3/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.7.3/lang/afb-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.0/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.0/lang/afb-de_DE.mo -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.0.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.1.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.2.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.3.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.3.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.4.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.5.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.5.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.6.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.6.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.7.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.8.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.8.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.9.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.9.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.6.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.6.0.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.6.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.6.1.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.7.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.7.0.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.7.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.7.1.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.7.2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.7.2.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.7.3.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.7.3.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.0.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.1.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.2.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.3.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.3.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.4.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.5.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.5.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.6.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.6.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.7.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.8.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.8.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.8.9.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.8.9.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.9.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.9.0.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.9.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.9.1.zip -------------------------------------------------------------------------------- /archives/allfacebook_instant_articles.0.7.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook_instant_articles.0.7.1.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.6.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.6.1.zip -------------------------------------------------------------------------------- /archives/allfacebook-instant-articles.0.5.6.2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/archives/allfacebook-instant-articles.0.5.6.2.zip -------------------------------------------------------------------------------- /tags/0.8.1/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.1/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.2/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.2/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.3/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.3/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.4/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.4/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.5/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.5/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.6/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.6/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.7/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.7/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.8/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.8/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.8.9/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.8.9/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.9.0/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.9.0/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /tags/0.9.1/lang/allfacebook-instant-articles-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luehrsenheinrich/afb_instant_articles/HEAD/tags/0.9.1/lang/allfacebook-instant-articles-de_DE.mo -------------------------------------------------------------------------------- /svnignore.txt: -------------------------------------------------------------------------------- 1 | // Ignore everything from the start, we add things back in 2 | * 3 | 4 | !trunk/* 5 | !tags/* 6 | !assets/* 7 | !branches/* 8 | 9 | // No PSDs 10 | *.psd 11 | 12 | // No Node Modules 13 | node_modules -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### What did you expect to happen? 2 | 3 | ### What happened instead? 4 | 5 | ### How can we reproduce this behavior? 6 | 7 | Can you provide a link to a page which shows this issue? 8 | 9 | ### Technical info 10 | * WordPress version: 11 | * allfacebook Instant Articles version: 12 | -------------------------------------------------------------------------------- /tags/0.6.1/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /tags/0.7.0/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /tags/0.7.1/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /tags/0.7.2/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /tags/0.7.3/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /tags/0.8.0/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /tags/0.8.1/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /tags/0.8.2/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl}); -------------------------------------------------------------------------------- /.codeclimate.yml: -------------------------------------------------------------------------------- 1 | --- 2 | engines: 3 | csslint: 4 | enabled: true 5 | duplication: 6 | enabled: true 7 | config: 8 | languages: 9 | - ruby 10 | - javascript 11 | - python 12 | - php 13 | eslint: 14 | enabled: true 15 | fixme: 16 | enabled: true 17 | phpmd: 18 | enabled: true 19 | ratings: 20 | paths: 21 | - "**.css" 22 | - "**.inc" 23 | - "**.js" 24 | - "**.jsx" 25 | - "**.module" 26 | - "**.php" 27 | - "**.py" 28 | - "**.rb" 29 | ## other configuration excluded from example... 30 | exclude_paths: 31 | - "archives/" 32 | - "tags/" 33 | - "Gruntfile.js" 34 | - "build/inc/lhafb_ia.filters.php" -------------------------------------------------------------------------------- /tags/0.5.0/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /tags/0.5.1/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /tags/0.5.2/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /tags/0.5.3/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /tags/0.5.4/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /tags/0.5.5/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /tags/0.5.6.1/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /tags/0.5.6/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ��$,8�9Project-Id-Version: allfacebook Instant Articles 2 | POT-Creation-Date: 2015-11-27 10:55+0100 3 | PO-Revision-Date: 2015-11-27 10:58+0100 4 | Last-Translator: 5 | Language-Team: 6 | Language: de_DE 7 | MIME-Version: 1.0 8 | Content-Type: text/plain; charset=UTF-8 9 | Content-Transfer-Encoding: 8bit 10 | X-Generator: Poedit 1.8.6 11 | X-Poedit-Basepath: .. 12 | X-Poedit-WPHeader: afb_instant_articles.php 13 | Plural-Forms: nplurals=2; plural=(n != 1); 14 | X-Poedit-SourceCharset: UTF-8 15 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 16 | X-Poedit-SearchPath-0: . 17 | X-Poedit-SearchPathExcluded-0: *.js 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.9.1", 3 | "title": "WordPress Instant Articles by allfacebook.de", 4 | "slug": "allfacebook-instant-articles", 5 | "description": "Harness the power of Facebook Instant Articles on your WordPress site.", 6 | "author": "WP Munich & Luehrsen // Heinrich", 7 | "private": true, 8 | "devDependencies": { 9 | "grunt": "~0.4.5", 10 | "grunt-autoprefixer": "^3.0.0", 11 | "grunt-concat-in-order": "~0.1.6", 12 | "grunt-contrib-clean": "^0.6.0", 13 | "grunt-contrib-compress": "^0.14.0", 14 | "grunt-contrib-copy": "^0.8.0", 15 | "grunt-contrib-jshint": "~0.11.0", 16 | "grunt-contrib-less": "~0.11.0", 17 | "grunt-contrib-uglify": "~0.4.0", 18 | "grunt-contrib-watch": "~0.6.1", 19 | "grunt-newer": "^1.1.1", 20 | "grunt-phplint": "0.0.5", 21 | "jit-grunt": "~0.7.0", 22 | "jshint-stylish": "~1.0.0" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /tags/0.8.3/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".settings-container fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl,new settingsMultiCtrl}); -------------------------------------------------------------------------------- /tags/0.8.4/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".settings-container fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){new settingsNavCtrl,new settingsMultiCtrl}); -------------------------------------------------------------------------------- /tags/0.8.5/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a("fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){var b=(new settingsNavCtrl,new settingsMultiCtrl,window.wp);a(".afbia-review.is-dismissible").on("click",".notice-dismiss",function(a){b.ajax.send("afbia_dismiss_review")})}); -------------------------------------------------------------------------------- /tags/0.8.6/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a("fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){var b=(new settingsNavCtrl,new settingsMultiCtrl,window.wp);a(".afbia-review.is-dismissible").on("click",".notice-dismiss",function(a){b.ajax.send("afbia_dismiss_review")})}); -------------------------------------------------------------------------------- /tags/0.8.7/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a("fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){var b=(new settingsNavCtrl,new settingsMultiCtrl,window.wp);a(".afbia-review.is-dismissible").on("click",".notice-dismiss",function(a){b.ajax.send("afbia_dismiss_review")})}); -------------------------------------------------------------------------------- /tags/0.8.8/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a("fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){var b=(new settingsNavCtrl,new settingsMultiCtrl,window.wp);a(".afbia-review.is-dismissible").on("click",".notice-dismiss",function(a){b.ajax.send("afbia_dismiss_review")})}); -------------------------------------------------------------------------------- /tags/0.8.9/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a("fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){var b=(new settingsNavCtrl,new settingsMultiCtrl,window.wp);a(".afbia-review.is-dismissible").on("click",".notice-dismiss",function(a){b.ajax.send("afbia_dismiss_review")})}); -------------------------------------------------------------------------------- /tags/0.9.0/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a("fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){var b=(new settingsNavCtrl,new settingsMultiCtrl,window.wp);a(".afbia-review.is-dismissible").on("click",".notice-dismiss",function(a){b.ajax.send("afbia_dismiss_review")})}); -------------------------------------------------------------------------------- /tags/0.9.1/admin/admin.min.js: -------------------------------------------------------------------------------- 1 | var settingsNavCtrl=function(){var a=jQuery;this.init=function(){var b=this;a(".afbia-settings-page").each(function(){var c=a(this),d=a(".navigation a",c).first().attr("href").replace("#","");b.setActive(d,c),a(".navigation a",c).click(function(){var d=a(this).attr("href").replace("#","");b.setActive(d,c)})})},this.setActive=function(b,c){a(".navigation a",c).parent().removeClass("active"),a(".navigation a[href='#"+b+"']",c).parent().addClass("active"),a(".section",c).hide(),a("#section-"+b,c).show()},this.init()},settingsMultiCtrl=function(){var a=jQuery;this.init=function(){var b=this;a("fieldset.multi").each(function(){var c=a(this),d=a(".multi-input",c).first().clone();a("input",d).val(""),a(c).on("click",".multi-input .add-input",function(){b.addInput(d.clone(),c)}),a(c).on("click",".multi-input .remove-input",function(b){var d=a(b.currentTarget).parents(".multi-input");a(".multi-input",c).length>1&&d.remove()})})},this.addInput=function(b,c){b.insertAfter(a(".multi-input",c).last())},this.init()};jQuery(document).ready(function(a){var b=(new settingsNavCtrl,new settingsMultiCtrl,window.wp);a(".afbia-review.is-dismissible").on("click",".notice-dismiss",function(a){b.ajax.send("afbia_dismiss_review")})}); -------------------------------------------------------------------------------- /tags/0.5.0/afb_instant_articles.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | } 12 | 13 | 14 | /** 15 | * filter_dispatcher function. 16 | * 17 | * @access private 18 | * @return void 19 | */ 20 | private function filter_dispatcher(){ 21 | add_filter( 'afbia_content', array($this, 'format_content') ); 22 | } 23 | 24 | 25 | /** 26 | * action_dispatcher function. 27 | * 28 | * @access private 29 | * @return void 30 | */ 31 | private function action_dispatcher(){ 32 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 33 | } 34 | 35 | /** 36 | * Generate the custom RSS Feed for facebook instant articles. 37 | * Called by action 'do_feed_instant_articles' 38 | * 39 | * @see https://developers.facebook.com/docs/instant-articles/publishing 40 | * @access public 41 | * @return void 42 | */ 43 | public function do_feed(){ 44 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 45 | load_template($rss_template); 46 | } 47 | 48 | public function format_content($content){ 49 | 50 | // Replace the wrapping 'p' tags with figure tags for images 51 | $content = preg_replace( 52 | '/

\\s*?(<\\/a>|)?\\s*<\\/p>/s', 53 | '

$1
', 54 | $content 55 | ); 56 | return $content; 57 | 58 | return $content; 59 | } 60 | 61 | 62 | } -------------------------------------------------------------------------------- /tags/0.5.1/inc/lhafb_ia.core.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | } 12 | 13 | 14 | /** 15 | * filter_dispatcher function. 16 | * 17 | * @access private 18 | * @return void 19 | */ 20 | private function filter_dispatcher(){ 21 | add_filter( 'afbia_content', array($this, 'format_content') ); 22 | } 23 | 24 | 25 | /** 26 | * action_dispatcher function. 27 | * 28 | * @access private 29 | * @return void 30 | */ 31 | private function action_dispatcher(){ 32 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 33 | } 34 | 35 | /** 36 | * Generate the custom RSS Feed for facebook instant articles. 37 | * Called by action 'do_feed_instant_articles' 38 | * 39 | * @see https://developers.facebook.com/docs/instant-articles/publishing 40 | * @access public 41 | * @return void 42 | */ 43 | public function do_feed(){ 44 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 45 | load_template($rss_template); 46 | } 47 | 48 | public function format_content($content){ 49 | 50 | // Replace the wrapping 'p' tags with figure tags for images 51 | $content = preg_replace( 52 | '/

\\s*?(<\\/a>|)?\\s*<\\/p>/s', 53 | '

$1
', 54 | $content 55 | ); 56 | return $content; 57 | 58 | return $content; 59 | } 60 | 61 | 62 | } -------------------------------------------------------------------------------- /tags/0.5.2/inc/lhafb_ia.core.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | 12 | $this->content_filters = new AFBInstantArticles_Filters(); 13 | } 14 | 15 | 16 | /** 17 | * filter_dispatcher function. 18 | * 19 | * @access private 20 | * @return void 21 | */ 22 | private function filter_dispatcher(){ 23 | add_filter( 'wp_head', array($this, 'do_header') ); 24 | } 25 | 26 | 27 | /** 28 | * action_dispatcher function. 29 | * 30 | * @access private 31 | * @return void 32 | */ 33 | private function action_dispatcher(){ 34 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 35 | } 36 | 37 | /** 38 | * Generate the custom RSS Feed for facebook instant articles. 39 | * Called by action 'do_feed_instant_articles' 40 | * 41 | * @see https://developers.facebook.com/docs/instant-articles/publishing 42 | * @access public 43 | * @return void 44 | */ 45 | public function do_feed(){ 46 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 47 | load_template($rss_template); 48 | } 49 | 50 | /** 51 | * Output code for the page header. 52 | * 53 | * @access public 54 | * @return void 55 | */ 56 | public function do_header(){ 57 | if(get_option("afbia_page_id")){ 58 | $afbia_page_id = get_option("afbia_page_id"); 59 | echo ""; 60 | } 61 | } 62 | 63 | 64 | } -------------------------------------------------------------------------------- /tags/0.5.2/afb_instant_articles.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.7.0/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.7.1/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.7.2/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.7.3/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.0/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.1/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.2/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.3/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.4/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.5/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.6/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.7/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | ID : 0; 66 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 67 | 68 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 69 | $data['rand'] = (float)rand()/(float)getrandmax(); 70 | $data['ref'] = ''; 71 | $data = array_map( 'rawurlencode' , $data ); 72 | 73 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /tags/0.8.3/afb_instant_articles.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | 12 | $this->content_filters = new AFBInstantArticles_Filters(); 13 | } 14 | 15 | 16 | /** 17 | * filter_dispatcher function. 18 | * 19 | * @access private 20 | * @return void 21 | */ 22 | private function filter_dispatcher(){ 23 | add_filter( 'wp_head', array($this, 'do_header') ); 24 | 25 | } 26 | 27 | 28 | /** 29 | * action_dispatcher function. 30 | * 31 | * @access private 32 | * @return void 33 | */ 34 | private function action_dispatcher(){ 35 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 36 | add_action( 'pre_get_posts', array( $this, 'modify_query') ); 37 | 38 | } 39 | 40 | /** 41 | * Generate the custom RSS Feed for facebook instant articles. 42 | * Called by action 'do_feed_instant_articles' 43 | * 44 | * @see https://developers.facebook.com/docs/instant-articles/publishing 45 | * @access public 46 | * @return void 47 | */ 48 | public function do_feed(){ 49 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 50 | load_template($rss_template); 51 | } 52 | 53 | /** 54 | * Output code for the page header. 55 | * 56 | * @access public 57 | * @return void 58 | */ 59 | public function do_header(){ 60 | if(get_option("afbia_page_id")){ 61 | $afbia_page_id = get_option("afbia_page_id"); 62 | echo ""; 63 | } 64 | } 65 | 66 | /** 67 | * Modify the query that gets the posts to be shown in the instant articles feed. 68 | * Called by action 'pre_get_posts' 69 | * 70 | * @access public 71 | * @return void 72 | */ 73 | public function modify_query($query){ 74 | if ( !is_admin() && $query->is_main_query() && $query->is_feed('instant_articles')) { 75 | // Set the number of posts to be shown on the feed 76 | // If the number is not set or returns 0, fall back to the default posts_per_rss option. 77 | $num = intval(get_option('afbia_articles_num')); 78 | if($num != 0){ 79 | $query->set("posts_per_rss", $num); 80 | } 81 | } 82 | } 83 | 84 | 85 | } -------------------------------------------------------------------------------- /tags/0.5.4/inc/lhafb_ia.core.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | 12 | $this->content_filters = new AFBInstantArticles_Filters(); 13 | } 14 | 15 | 16 | /** 17 | * filter_dispatcher function. 18 | * 19 | * @access private 20 | * @return void 21 | */ 22 | private function filter_dispatcher(){ 23 | add_filter( 'wp_head', array($this, 'do_header') ); 24 | 25 | } 26 | 27 | 28 | /** 29 | * action_dispatcher function. 30 | * 31 | * @access private 32 | * @return void 33 | */ 34 | private function action_dispatcher(){ 35 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 36 | add_action( 'pre_get_posts', array( $this, 'modify_query') ); 37 | 38 | } 39 | 40 | /** 41 | * Generate the custom RSS Feed for facebook instant articles. 42 | * Called by action 'do_feed_instant_articles' 43 | * 44 | * @see https://developers.facebook.com/docs/instant-articles/publishing 45 | * @access public 46 | * @return void 47 | */ 48 | public function do_feed(){ 49 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 50 | load_template($rss_template); 51 | } 52 | 53 | /** 54 | * Output code for the page header. 55 | * 56 | * @access public 57 | * @return void 58 | */ 59 | public function do_header(){ 60 | if(get_option("afbia_page_id")){ 61 | $afbia_page_id = get_option("afbia_page_id"); 62 | echo ""; 63 | } 64 | } 65 | 66 | /** 67 | * Modify the query that gets the posts to be shown in the instant articles feed. 68 | * Called by action 'pre_get_posts' 69 | * 70 | * @access public 71 | * @return void 72 | */ 73 | public function modify_query($query){ 74 | if ( !is_admin() && $query->is_main_query() && $query->is_feed('instant_articles')) { 75 | // Set the number of posts to be shown on the feed 76 | // If the number is not set or returns 0, fall back to the default posts_per_rss option. 77 | $num = intval(get_option('afbia_articles_num')); 78 | if($num != 0){ 79 | $query->set("posts_per_rss", $num); 80 | } 81 | } 82 | } 83 | 84 | 85 | } -------------------------------------------------------------------------------- /tags/0.5.5/inc/lhafb_ia.core.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | 12 | $this->content_filters = new AFBInstantArticles_Filters(); 13 | } 14 | 15 | 16 | /** 17 | * filter_dispatcher function. 18 | * 19 | * @access private 20 | * @return void 21 | */ 22 | private function filter_dispatcher(){ 23 | add_filter( 'wp_head', array($this, 'do_header') ); 24 | 25 | } 26 | 27 | 28 | /** 29 | * action_dispatcher function. 30 | * 31 | * @access private 32 | * @return void 33 | */ 34 | private function action_dispatcher(){ 35 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 36 | add_action( 'pre_get_posts', array( $this, 'modify_query') ); 37 | 38 | } 39 | 40 | /** 41 | * Generate the custom RSS Feed for facebook instant articles. 42 | * Called by action 'do_feed_instant_articles' 43 | * 44 | * @see https://developers.facebook.com/docs/instant-articles/publishing 45 | * @access public 46 | * @return void 47 | */ 48 | public function do_feed(){ 49 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 50 | load_template($rss_template); 51 | } 52 | 53 | /** 54 | * Output code for the page header. 55 | * 56 | * @access public 57 | * @return void 58 | */ 59 | public function do_header(){ 60 | if(get_option("afbia_page_id")){ 61 | $afbia_page_id = get_option("afbia_page_id"); 62 | echo ""; 63 | } 64 | } 65 | 66 | /** 67 | * Modify the query that gets the posts to be shown in the instant articles feed. 68 | * Called by action 'pre_get_posts' 69 | * 70 | * @access public 71 | * @return void 72 | */ 73 | public function modify_query($query){ 74 | if ( !is_admin() && $query->is_main_query() && $query->is_feed('instant_articles')) { 75 | // Set the number of posts to be shown on the feed 76 | // If the number is not set or returns 0, fall back to the default posts_per_rss option. 77 | $num = intval(get_option('afbia_articles_num')); 78 | if($num != 0){ 79 | $query->set("posts_per_rss", $num); 80 | } 81 | } 82 | } 83 | 84 | 85 | } -------------------------------------------------------------------------------- /tags/0.5.6.2/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ����H1I+{ �� 2 | � � �� ��9 �E~��4T-��� ���  ".5H�~pT   3 | Allow users to comment on the media you embedded.Allow users to like the media you embedded.Comment MediaCreditsLike MediaNot selectedSave ChangesSettingsShow feedSuccessfully updated.The standard copyright details for your instant articles.The tracking code, that will be embedded in your instant articles. See
this link for more information.These settings control some general aspects of the instant article plugin and how your instant articles are shown on facebook.Project-Id-Version: allfacebook Instant Articles 4 | POT-Creation-Date: 2015-11-27 10:55+0100 5 | PO-Revision-Date: 2016-04-27 09:30+0100 6 | Last-Translator: Jens Wiese 7 | Language-Team: 8 | Language: de_DE 9 | MIME-Version: 1.0 10 | Content-Type: text/plain; charset=UTF-8 11 | Content-Transfer-Encoding: 8bit 12 | X-Generator: Poedit 1.8.6 13 | X-Poedit-Basepath: .. 14 | X-Poedit-WPHeader: afb_instant_articles.php 15 | Plural-Forms: nplurals=2; plural=(n != 1); 16 | X-Poedit-SourceCharset: UTF-8 17 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 18 | X-Poedit-SearchPathExcluded-0: *.js 19 | X-Poedit-SearchPath-0: . 20 | Erlaube Nutzern eingebettete Medien zu kommentieren.Erlaube Nutzern eingebettete Medien zu liken.Medien KommentareBild- und MedienrechtMedien LikesNicht ausgewähltÄnderungen speichernEinstellungenFeed zeigenErfolgreich aktualisiert.Die Copyright Details für alle ihre Instant Article.Der Trackingcode, der in ihren Instant Articles verwendet werden soll. Nähere Information dazu bei Facebook.Diese Einstellungen bestimmen ein paar generelle Aspekte der Instant Articles und ihrer Darstellung auf Facebook -------------------------------------------------------------------------------- /tags/0.5.6.1/inc/lhafb_ia.core.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | 12 | $this->content_filters = new AFBInstantArticles_Filters(); 13 | } 14 | 15 | 16 | /** 17 | * filter_dispatcher function. 18 | * 19 | * @access private 20 | * @return void 21 | */ 22 | private function filter_dispatcher(){ 23 | add_filter( 'wp_head', array($this, 'do_header') ); 24 | 25 | } 26 | 27 | 28 | /** 29 | * action_dispatcher function. 30 | * 31 | * @access private 32 | * @return void 33 | */ 34 | private function action_dispatcher(){ 35 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 36 | add_action( 'pre_get_posts', array( $this, 'modify_query') ); 37 | 38 | } 39 | 40 | /** 41 | * Generate the custom RSS Feed for facebook instant articles. 42 | * Called by action 'do_feed_instant_articles' 43 | * 44 | * @see https://developers.facebook.com/docs/instant-articles/publishing 45 | * @access public 46 | * @return void 47 | */ 48 | public function do_feed(){ 49 | 50 | do_action("call_ia_filters"); 51 | 52 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 53 | load_template($rss_template); 54 | } 55 | 56 | /** 57 | * Output code for the page header. 58 | * 59 | * @access public 60 | * @return void 61 | */ 62 | public function do_header(){ 63 | if(get_option("afbia_page_id")){ 64 | $afbia_page_id = get_option("afbia_page_id"); 65 | echo ""; 66 | } 67 | } 68 | 69 | /** 70 | * Modify the query that gets the posts to be shown in the instant articles feed. 71 | * Called by action 'pre_get_posts' 72 | * 73 | * @access public 74 | * @return void 75 | */ 76 | public function modify_query($query){ 77 | if ( !is_admin() && $query->is_main_query() && $query->is_feed('instant_articles')) { 78 | // Set the number of posts to be shown on the feed 79 | // If the number is not set or returns 0, fall back to the default posts_per_rss option. 80 | $num = intval(get_option('afbia_articles_num')); 81 | if($num != 0){ 82 | $query->set("posts_per_rss", $num); 83 | } 84 | } 85 | } 86 | 87 | 88 | } -------------------------------------------------------------------------------- /tags/0.5.6.2/inc/lhafb_ia.core.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | 12 | $this->content_filters = new AFBInstantArticles_Filters(); 13 | } 14 | 15 | 16 | /** 17 | * filter_dispatcher function. 18 | * 19 | * @access private 20 | * @return void 21 | */ 22 | private function filter_dispatcher(){ 23 | add_filter( 'wp_head', array($this, 'do_header') ); 24 | 25 | } 26 | 27 | 28 | /** 29 | * action_dispatcher function. 30 | * 31 | * @access private 32 | * @return void 33 | */ 34 | private function action_dispatcher(){ 35 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 36 | add_action( 'pre_get_posts', array( $this, 'modify_query') ); 37 | 38 | } 39 | 40 | /** 41 | * Generate the custom RSS Feed for facebook instant articles. 42 | * Called by action 'do_feed_instant_articles' 43 | * 44 | * @see https://developers.facebook.com/docs/instant-articles/publishing 45 | * @access public 46 | * @return void 47 | */ 48 | public function do_feed(){ 49 | 50 | do_action("call_ia_filters"); 51 | 52 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 53 | load_template($rss_template); 54 | } 55 | 56 | /** 57 | * Output code for the page header. 58 | * 59 | * @access public 60 | * @return void 61 | */ 62 | public function do_header(){ 63 | if(get_option("afbia_page_id")){ 64 | $afbia_page_id = get_option("afbia_page_id"); 65 | echo ""; 66 | } 67 | } 68 | 69 | /** 70 | * Modify the query that gets the posts to be shown in the instant articles feed. 71 | * Called by action 'pre_get_posts' 72 | * 73 | * @access public 74 | * @return void 75 | */ 76 | public function modify_query($query){ 77 | if ( !is_admin() && $query->is_main_query() && $query->is_feed('instant_articles')) { 78 | // Set the number of posts to be shown on the feed 79 | // If the number is not set or returns 0, fall back to the default posts_per_rss option. 80 | $num = intval(get_option('afbia_articles_num')); 81 | if($num != 0){ 82 | $query->set("posts_per_rss", $num); 83 | } 84 | } 85 | } 86 | 87 | 88 | } -------------------------------------------------------------------------------- /tags/0.5.6/inc/lhafb_ia.core.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 10 | $this->action_dispatcher(); 11 | 12 | $this->content_filters = new AFBInstantArticles_Filters(); 13 | } 14 | 15 | 16 | /** 17 | * filter_dispatcher function. 18 | * 19 | * @access private 20 | * @return void 21 | */ 22 | private function filter_dispatcher(){ 23 | add_filter( 'wp_head', array($this, 'do_header') ); 24 | 25 | } 26 | 27 | 28 | /** 29 | * action_dispatcher function. 30 | * 31 | * @access private 32 | * @return void 33 | */ 34 | private function action_dispatcher(){ 35 | add_action( 'do_feed_instant_articles', array( $this, 'do_feed' ) ); 36 | add_action( 'pre_get_posts', array( $this, 'modify_query') ); 37 | 38 | } 39 | 40 | /** 41 | * Generate the custom RSS Feed for facebook instant articles. 42 | * Called by action 'do_feed_instant_articles' 43 | * 44 | * @see https://developers.facebook.com/docs/instant-articles/publishing 45 | * @access public 46 | * @return void 47 | */ 48 | public function do_feed(){ 49 | 50 | do_action("call_ia_filters"); 51 | 52 | $rss_template = LHAFB__PLUGIN_DIR . 'templates/feed-instant_articles.php'; 53 | load_template($rss_template); 54 | } 55 | 56 | /** 57 | * Output code for the page header. 58 | * 59 | * @access public 60 | * @return void 61 | */ 62 | public function do_header(){ 63 | if(get_option("afbia_page_id")){ 64 | $afbia_page_id = get_option("afbia_page_id"); 65 | echo ""; 66 | } 67 | } 68 | 69 | /** 70 | * Modify the query that gets the posts to be shown in the instant articles feed. 71 | * Called by action 'pre_get_posts' 72 | * 73 | * @access public 74 | * @return void 75 | */ 76 | public function modify_query($query){ 77 | if ( !is_admin() && $query->is_main_query() && $query->is_feed('instant_articles')) { 78 | // Set the number of posts to be shown on the feed 79 | // If the number is not set or returns 0, fall back to the default posts_per_rss option. 80 | $num = intval(get_option('afbia_articles_num')); 81 | if($num != 0){ 82 | $query->set("posts_per_rss", $num); 83 | } 84 | } 85 | } 86 | 87 | 88 | } -------------------------------------------------------------------------------- /tags/0.8.8/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | get_queried_object_id(); 68 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 69 | } 70 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 71 | $data['rand'] = 'RANDOM'; // amp placeholder 72 | $data['ref'] = 'DOCUMENT_REFERRER'; // amp placeholder 73 | $data = array_map( 'rawurlencode' , $data ); 74 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 75 | } 76 | 77 | 78 | } 79 | -------------------------------------------------------------------------------- /tags/0.8.9/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | get_queried_object_id(); 68 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 69 | } 70 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 71 | $data['rand'] = 'RANDOM'; // amp placeholder 72 | $data['ref'] = 'DOCUMENT_REFERRER'; // amp placeholder 73 | $data = array_map( 'rawurlencode' , $data ); 74 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 75 | } 76 | 77 | 78 | } 79 | -------------------------------------------------------------------------------- /tags/0.9.0/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | get_queried_object_id(); 68 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 69 | } 70 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 71 | $data['rand'] = 'RANDOM'; // amp placeholder 72 | $data['ref'] = 'DOCUMENT_REFERRER'; // amp placeholder 73 | $data = array_map( 'rawurlencode' , $data ); 74 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 75 | } 76 | 77 | 78 | } 79 | -------------------------------------------------------------------------------- /tags/0.9.1/inc/lhafb_ia.jetpack-support.php: -------------------------------------------------------------------------------- 1 | build_jetpack_stats_pixel_url(); 35 | ?> 36 |
37 | 43 |
44 | get_queried_object_id(); 68 | $data = compact( 'v', 'j', 'blog', 'post', 'tz', 'srv' ); 69 | } 70 | $data['host'] = rawurlencode( $_SERVER['HTTP_HOST'] ); 71 | $data['rand'] = 'RANDOM'; // amp placeholder 72 | $data['ref'] = 'DOCUMENT_REFERRER'; // amp placeholder 73 | $data = array_map( 'rawurlencode' , $data ); 74 | return add_query_arg( $data, 'https://pixel.wp.com/g.gif' ); 75 | } 76 | 77 | 78 | } 79 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to allfacebook Instant Articles WordPress Plugin 2 | 3 | Hi! Thank you for your interest in contributing to the plugin, we really appreciate it. 4 | 5 | There are many ways to contribute – reporting bugs, feature suggestions, fixing bugs, submitting pull requests for enhancements. 6 | 7 | ## Reporting Bugs, Asking Questions, Sending Suggestions 8 | 9 | Just [file a GitHub issue](https://github.com/luehrsenheinrich/afb_instant_articles/issues/new), that’s all. If you want to prefix the title with a “Question:”, “Bug:”, or the general area of the application, that would be helpful, but by no means mandatory. If you have write access, add the appropriate labels. 10 | 11 | If you’re filing a bug, specific steps to reproduce are helpful. Please include the URL of the page that has the bug, along with what you expected to see and what happened instead. 12 | 13 | Here is a [handy link for submitting a new bug](https://github.com/luehrsenheinrich/afb_instant_articles/issues/new?body=URL%3A%0A%0AWhat+I+expected%3A%0A%0ASteps+to+reproduce%3A%0A%0AWhat+happened+instead%3A&title=Description%20of%20the%20problem). 14 | 15 | ## Helping with the documentation 16 | 17 | Every plugin is just as good as the documentation. In this repository we offer [collaboration with a wiki](https://github.com/luehrsenheinrich/afb_instant_articles/wiki) to create a documentation for this plugin. 18 | 19 | ## Setting up the dev enviroment 20 | 21 | If you want to contribute code to the plugin you have to set up the environment locally. Make sure that you have `npm` and `grunt` installed. 22 | 23 | The working directory is the `build` directory. If you change shomething in another location of the git the pull request or commit will be ignored. 24 | 25 | To test the plugin make a [symbolic link](https://en.wikipedia.org/wiki/Symbolic_link) between the `trunk` folder and the `wp-content/plugins/afb-instant-articles` folder on your local WordPress instance. 26 | 27 | Start the grunt watcher with the terminal command `grunt watch`. Grunt will make sure that the code will be compiled and copied to the trunk folder. 28 | 29 | Before committing execute the command `grunt deploy` to perform a clean deploy from the build to the trunk folder. 30 | 31 | *IMPORTANT*: Edits outside the `build` directory will be overwritten by the grunt tasks. So make sure you don't work within the `trunk` folder. 32 | -------------------------------------------------------------------------------- /tags/0.5.0/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 37 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 38 | 39 | 40 | 41 | 42 | 52 | 53 | <?php the_title_rss() ?> 54 | 55 | 56 | ]]> 57 | 58 | ]]> 59 | 64 | ]]> 65 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /tags/0.5.1/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 37 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 38 | 39 | 40 | 41 | 42 | 52 | 53 | <?php the_title_rss() ?> 54 | 55 | 56 | ]]> 57 | 58 | ]]> 59 | 64 | ]]> 65 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /tags/0.5.2/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 37 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 38 | 39 | 40 | 41 | 42 | 52 | 53 | <?php the_title_rss() ?> 54 | 55 | 56 | ]]> 57 | 58 | ]]> 59 | 64 | ]]> 65 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /tags/0.8.5/afb_instant_articles.php: -------------------------------------------------------------------------------- 1 | this link for more information.These settings control some general aspects of the instant article plugin and how your instant articles are shown on facebook.Project-Id-Version: allfacebook Instant Articles 5 | Report-Msgid-Bugs-To: 6 | POT-Creation-Date: 2016-04-28 14:27+0100 7 | PO-Revision-Date: 2016-04-28 14:30+0100 8 | Last-Translator: Jens Wiese 9 | Language-Team: 10 | Language: de_DE 11 | MIME-Version: 1.0 12 | Content-Type: text/plain; charset=UTF-8 13 | Content-Transfer-Encoding: 8bit 14 | X-Generator: Poedit 1.8.6 15 | X-Poedit-Basepath: .. 16 | X-Poedit-WPHeader: afb_instant_articles.php 17 | Plural-Forms: nplurals=2; plural=(n != 1); 18 | X-Poedit-SourceCharset: UTF-8 19 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 20 | X-Poedit-SearchPathExcluded-0: *.js 21 | X-Poedit-SearchPath-0: . 22 | Erlaube Nutzern eingebettete Medien zu kommentieren.Erlaube Nutzern eingebettete Medien zu liken.Medien KommentareBild- und MedienrechtNicht an Facebook übermittelnNicht als Instant Article veröffentlichenMedien LikesNicht ausgewähltAnzahl der ArtikelÄnderungen speichernEinstellungenFeed zeigenErfolgreich aktualisiert.Die Anzahl der Artikel, die im Feed aufgenommen werden.Die ID der Facebook Seite zu der du Instant Articles hinzufügen möchtest. Die Copyright Details für alle ihre Instant Article.Der Trackingcode, der in ihren Instant Articles verwendet werden soll. Nähere Information dazu bei Facebook.Diese Einstellungen bestimmen ein paar generelle Aspekte der Instant Articles und ihrer Darstellung auf Facebook -------------------------------------------------------------------------------- /tags/0.5.8/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ���L�1�+� -5L 2 | j u� �� ��:�E9L��~U��4�-�!7*V ���� � ��7�L5 5� �� p� 3 |     4 | Allow users to comment on the media you embedded.Allow users to like the media you embedded.Comment MediaCreditsDon't send to facebookExclude from Instant ArticlesLike MediaNot selectedNumber of ArticlesSave ChangesSettingsShow feedSuccessfully updated.The number of articles, that will be rendered on the feed.The page ID of the facebook page you want to add Instant Articles to.The standard copyright details for your instant articles.The tracking code, that will be embedded in your instant articles. See this link for more information.These settings control some general aspects of the instant article plugin and how your instant articles are shown on facebook.Project-Id-Version: allfacebook Instant Articles 5 | Report-Msgid-Bugs-To: 6 | POT-Creation-Date: 2016-04-28 14:27+0100 7 | PO-Revision-Date: 2016-04-28 14:30+0100 8 | Last-Translator: Jens Wiese 9 | Language-Team: 10 | Language: de_DE 11 | MIME-Version: 1.0 12 | Content-Type: text/plain; charset=UTF-8 13 | Content-Transfer-Encoding: 8bit 14 | X-Generator: Poedit 1.8.6 15 | X-Poedit-Basepath: .. 16 | X-Poedit-WPHeader: afb_instant_articles.php 17 | Plural-Forms: nplurals=2; plural=(n != 1); 18 | X-Poedit-SourceCharset: UTF-8 19 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 20 | X-Poedit-SearchPathExcluded-0: *.js 21 | X-Poedit-SearchPath-0: . 22 | Erlaube Nutzern eingebettete Medien zu kommentieren.Erlaube Nutzern eingebettete Medien zu liken.Medien KommentareBild- und MedienrechtNicht an Facebook übermittelnNicht als Instant Article veröffentlichenMedien LikesNicht ausgewähltAnzahl der ArtikelÄnderungen speichernEinstellungenFeed zeigenErfolgreich aktualisiert.Die Anzahl der Artikel, die im Feed aufgenommen werden.Die ID der Facebook Seite zu der du Instant Articles hinzufügen möchtest. Die Copyright Details für alle ihre Instant Article.Der Trackingcode, der in ihren Instant Articles verwendet werden soll. Nähere Information dazu bei Facebook.Diese Einstellungen bestimmen ein paar generelle Aspekte der Instant Articles und ihrer Darstellung auf Facebook -------------------------------------------------------------------------------- /tags/0.5.9/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ���L�1�+� -5L 2 | j u� �� ��:�E9L��~U��4�-�!7*V ���� � ��7�L5 5� �� p� 3 |     4 | Allow users to comment on the media you embedded.Allow users to like the media you embedded.Comment MediaCreditsDon't send to facebookExclude from Instant ArticlesLike MediaNot selectedNumber of ArticlesSave ChangesSettingsShow feedSuccessfully updated.The number of articles, that will be rendered on the feed.The page ID of the facebook page you want to add Instant Articles to.The standard copyright details for your instant articles.The tracking code, that will be embedded in your instant articles. See this link for more information.These settings control some general aspects of the instant article plugin and how your instant articles are shown on facebook.Project-Id-Version: allfacebook Instant Articles 5 | Report-Msgid-Bugs-To: 6 | POT-Creation-Date: 2016-04-28 14:27+0100 7 | PO-Revision-Date: 2016-04-28 14:30+0100 8 | Last-Translator: Jens Wiese 9 | Language-Team: 10 | Language: de_DE 11 | MIME-Version: 1.0 12 | Content-Type: text/plain; charset=UTF-8 13 | Content-Transfer-Encoding: 8bit 14 | X-Generator: Poedit 1.8.6 15 | X-Poedit-Basepath: .. 16 | X-Poedit-WPHeader: afb_instant_articles.php 17 | Plural-Forms: nplurals=2; plural=(n != 1); 18 | X-Poedit-SourceCharset: UTF-8 19 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 20 | X-Poedit-SearchPathExcluded-0: *.js 21 | X-Poedit-SearchPath-0: . 22 | Erlaube Nutzern eingebettete Medien zu kommentieren.Erlaube Nutzern eingebettete Medien zu liken.Medien KommentareBild- und MedienrechtNicht an Facebook übermittelnNicht als Instant Article veröffentlichenMedien LikesNicht ausgewähltAnzahl der ArtikelÄnderungen speichernEinstellungenFeed zeigenErfolgreich aktualisiert.Die Anzahl der Artikel, die im Feed aufgenommen werden.Die ID der Facebook Seite zu der du Instant Articles hinzufügen möchtest. Die Copyright Details für alle ihre Instant Article.Der Trackingcode, der in ihren Instant Articles verwendet werden soll. Nähere Information dazu bei Facebook.Diese Einstellungen bestimmen ein paar generelle Aspekte der Instant Articles und ihrer Darstellung auf Facebook -------------------------------------------------------------------------------- /tags/0.6.0/lang/afb-de_DE.mo: -------------------------------------------------------------------------------- 1 | ���L�1�+� -5L 2 | j u� �� ��:�E9L��~U��4�-�!7*V ���� � ��7�L5 5� �� p� 3 |     4 | Allow users to comment on the media you embedded.Allow users to like the media you embedded.Comment MediaCreditsDon't send to facebookExclude from Instant ArticlesLike MediaNot selectedNumber of ArticlesSave ChangesSettingsShow feedSuccessfully updated.The number of articles, that will be rendered on the feed.The page ID of the facebook page you want to add Instant Articles to.The standard copyright details for your instant articles.The tracking code, that will be embedded in your instant articles. See this link for more information.These settings control some general aspects of the instant article plugin and how your instant articles are shown on facebook.Project-Id-Version: allfacebook Instant Articles 5 | Report-Msgid-Bugs-To: 6 | POT-Creation-Date: 2016-04-28 14:27+0100 7 | PO-Revision-Date: 2016-04-28 14:30+0100 8 | Last-Translator: Jens Wiese 9 | Language-Team: 10 | Language: de_DE 11 | MIME-Version: 1.0 12 | Content-Type: text/plain; charset=UTF-8 13 | Content-Transfer-Encoding: 8bit 14 | X-Generator: Poedit 1.8.6 15 | X-Poedit-Basepath: .. 16 | X-Poedit-WPHeader: afb_instant_articles.php 17 | Plural-Forms: nplurals=2; plural=(n != 1); 18 | X-Poedit-SourceCharset: UTF-8 19 | X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2 20 | X-Poedit-SearchPathExcluded-0: *.js 21 | X-Poedit-SearchPath-0: . 22 | Erlaube Nutzern eingebettete Medien zu kommentieren.Erlaube Nutzern eingebettete Medien zu liken.Medien KommentareBild- und MedienrechtNicht an Facebook übermittelnNicht als Instant Article veröffentlichenMedien LikesNicht ausgewähltAnzahl der ArtikelÄnderungen speichernEinstellungenFeed zeigenErfolgreich aktualisiert.Die Anzahl der Artikel, die im Feed aufgenommen werden.Die ID der Facebook Seite zu der du Instant Articles hinzufügen möchtest. Die Copyright Details für alle ihre Instant Article.Der Trackingcode, der in ihren Instant Articles verwendet werden soll. Nähere Information dazu bei Facebook.Diese Einstellungen bestimmen ein paar generelle Aspekte der Instant Articles und ihrer Darstellung auf Facebook -------------------------------------------------------------------------------- /tags/0.5.3/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 43 | 44 | 45 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 46 | 47 | 48 | 49 | 50 | time()), get_the_permalink()); 63 | $pubDate = date("D, d M Y H:i:s +0000"); 64 | } else { 65 | $guid = get_the_guid(); 66 | $permalink = get_the_permalink(); 67 | $pubDate = mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); 68 | } 69 | 70 | ?> 71 | 72 | <?php the_title_rss() ?> 73 | 74 | 75 | ]]> 76 | 77 | ]]> 78 | 83 | ]]> 84 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /tags/0.5.4/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 43 | 44 | 45 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 46 | 47 | 48 | 49 | 50 | time()), get_the_permalink()); 63 | $pubDate = date("D, d M Y H:i:s +0000"); 64 | } else { 65 | $guid = get_the_guid(); 66 | $permalink = get_the_permalink(); 67 | $pubDate = mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); 68 | } 69 | 70 | ?> 71 | 72 | <?php the_title_rss() ?> 73 | 74 | 75 | ]]> 76 | 77 | ]]> 78 | 83 | ]]> 84 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /tags/0.5.5/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 43 | 44 | 45 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 46 | 47 | 48 | 49 | 50 | time()), get_the_permalink()); 63 | $pubDate = date("D, d M Y H:i:s +0000"); 64 | } else { 65 | $guid = get_the_guid(); 66 | $permalink = get_the_permalink(); 67 | $pubDate = mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); 68 | } 69 | 70 | ?> 71 | 72 | <?php the_title_rss() ?> 73 | 74 | 75 | ]]> 76 | 77 | ]]> 78 | 83 | ]]> 84 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /tags/0.5.6.1/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 43 | 44 | 45 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 46 | 47 | 48 | 49 | 50 | time()), get_the_permalink()); 63 | $pubDate = date("D, d M Y H:i:s +0000"); 64 | } else { 65 | $guid = get_the_guid(); 66 | $permalink = get_the_permalink(); 67 | $pubDate = mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); 68 | } 69 | 70 | ?> 71 | 72 | <?php the_title_rss() ?> 73 | 74 | 75 | ]]> 76 | 77 | ]]> 78 | 83 | ]]> 84 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /tags/0.5.6.2/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 43 | 44 | 45 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 46 | 47 | 48 | 49 | 50 | time()), get_the_permalink()); 63 | $pubDate = date("D, d M Y H:i:s +0000"); 64 | } else { 65 | $guid = get_the_guid(); 66 | $permalink = get_the_permalink(); 67 | $pubDate = mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); 68 | } 69 | 70 | ?> 71 | 72 | <?php the_title_rss() ?> 73 | 74 | 75 | ]]> 76 | 77 | ]]> 78 | 83 | ]]> 84 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /tags/0.5.6/templates/feed-instant_articles.php: -------------------------------------------------------------------------------- 1 | '; 12 | 13 | /** 14 | * Fires between the xml and rss tags in a feed. 15 | * 16 | * @since 4.0.0 17 | * 18 | * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', 19 | * 'rdf', 'atom', and 'atom-comments'. 20 | */ 21 | do_action( 'rss_tag_pre', 'rss2' ); 22 | ?> 23 | 34 | > 35 | 36 | 43 | 44 | 45 | <?php bloginfo_rss('name'); wp_title_rss(); ?> 46 | 47 | 48 | 49 | 50 | time()), get_the_permalink()); 63 | $pubDate = date("D, d M Y H:i:s +0000"); 64 | } else { 65 | $guid = get_the_guid(); 66 | $permalink = get_the_permalink(); 67 | $pubDate = mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); 68 | } 69 | 70 | ?> 71 | 72 | <?php the_title_rss() ?> 73 | 74 | 75 | ]]> 76 | 77 | ]]> 78 | 83 | ]]> 84 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /tags/0.5.0/readme.txt: -------------------------------------------------------------------------------- 1 | === allfacebook Instant Articles === 2 | Contributors: luehrsen, wiesejens 3 | Tags: articles, instant articles, facebook, allfacebook, rss, feed 4 | Requires at least: 4.0 5 | Tested up to: 4.4 6 | Stable tag: 0.5.0 7 | License: GNU General Public License v2 or later 8 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 | 10 | This plugin lets your WordPress display instant articles directly on your facebook page. 11 | 12 | == Description == 13 | 14 | This plugin creates a special RSS Feed for your Wordpress blog to harvest the power of Facebook Instant Articles. 15 | 16 | Instant Articles is a new technology by Facebook that will load your webpage content „instant“. That means Facebook will cache your articles on Facebooks servers and will load them within the native FB iOS or Android App without opening a browser window and connecting to your webserver. 17 | 18 | Instant Articles will likely be available in the Q1/2016 for most media sites. As of today it is in a limited beta test by big media companies like Buzzfeed, NYT or Spiegel Online. 19 | 20 | You can learn more about Instant Articles on the official Facebook Developer Documentation at https://developers.facebook.com/docs/instant-articles. 21 | 22 | Attention: If you are not part of the limited beta test happening right now, this plugin will be useless for you. However it will help you to quick start and use the first mover effect the moment Facebooks opens Instant Articles for all publications. 23 | 24 | If you want to participate in the development [head over to GitHub](https://github.com/luehrsenheinrich/afb_instant_articles)! 25 | 26 | This plugin is brought to you by the awesome folks at [Luehrsen // Heinrich](http://www.luehrsen-heinrich.de). 27 | 28 | == Installation == 29 | 30 | 1. Upload the lhafb_instant_articles folder to the /wp-content/plugins/ directory 31 | 2. Activate the 'allfacebook Instant Articles' plugin through the 'Plugins' menu in WordPress 32 | 3. Import your first image in the admin media screen 33 | 34 | == Frequently Asked Questions == 35 | 36 | Q: Where can I find the new RSS Feed created by this plugin? 37 | A: The feed can be found at http://www.yourblogurl.com/?feed=instant_articles 38 | 39 | Q: I like to track article impressions for my Instant Articles. How can I do that? 40 | A: Copy and Paste your Google Analytics code in the „Analytics“ Area of the Plugin Settings. 41 | 42 | 43 | Q: My Author Information is not linked to my Facebook Profile. 44 | A: Please use the Yoast SEO Plugin to add this additional profile information to your Wordpress user settings. allfacebook Instant Articles will use this information. 45 | 46 | Q: Feature XYZ from the official Facebook is not available! Why? 47 | A: Keep calm. Development of this plugin will continue and we will add more features in the future! 48 | 49 | == Screenshots == 50 | 51 | 52 | == Changelog == 53 | 54 | = 0.5.0 = 55 | Initial Release -------------------------------------------------------------------------------- /tags/0.5.1/readme.txt: -------------------------------------------------------------------------------- 1 | === allfacebook Instant Articles === 2 | Contributors: luehrsen, wiesejens 3 | Tags: articles, instant articles, facebook, allfacebook, rss, feed 4 | Requires at least: 4.0 5 | Tested up to: 4.4 6 | Stable tag: 0.5.1 7 | License: GNU General Public License v2 or later 8 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 | 10 | This plugin lets your WordPress display instant articles directly on your facebook page. 11 | 12 | == Description == 13 | 14 | This plugin creates a special RSS Feed for your Wordpress blog to harvest the power of Facebook Instant Articles. 15 | 16 | Instant Articles is a new technology by Facebook that will load your webpage content „instant“. That means Facebook will cache your articles on Facebooks servers and will load them within the native FB iOS or Android App without opening a browser window and connecting to your webserver. 17 | 18 | Instant Articles will likely be available in the Q1/2016 for most media sites. As of today it is in a limited beta test by big media companies like Buzzfeed, NYT or Spiegel Online. 19 | 20 | You can learn more about Instant Articles on the official [Facebook Developer Documentation](https://developers.facebook.com/docs/instant-articles). 21 | 22 | Attention: If you are not part of the limited beta test happening right now, this plugin will be useless for you. However it will help you to quick start and use the first mover effect the moment Facebooks opens Instant Articles for all publications. 23 | 24 | If you want to participate in the development [head over to GitHub](https://github.com/luehrsenheinrich/afb_instant_articles)! 25 | 26 | This plugin is brought to you by the awesome folks at [Luehrsen // Heinrich](http://www.luehrsen-heinrich.de). 27 | 28 | == Installation == 29 | 30 | 1. Upload the lhafb_instant_articles folder to the /wp-content/plugins/ directory 31 | 2. Activate the 'allfacebook Instant Articles' plugin through the 'Plugins' menu in WordPress 32 | 3. Import your first image in the admin media screen 33 | 34 | == Frequently Asked Questions == 35 | 36 | ###Where can I find the new RSS Feed created by this plugin? 37 | The feed can be found at http://www.yourblogurl.com/?feed=instant_articles 38 | 39 | ###I like to track article impressions for my Instant Articles. How can I do that? 40 | Copy and Paste your Google Analytics code in the „Analytics“ Area of the Plugin Settings. 41 | 42 | 43 | ###My Author Information is not linked to my Facebook Profile. 44 | Please use the Yoast SEO Plugin to add this additional profile information to your Wordpress user settings. allfacebook Instant Articles will use this information. 45 | 46 | ###Feature XYZ from the official Facebook is not available! Why? 47 | Keep calm. Development of this plugin will continue and we will add more features in the future! 48 | 49 | == Screenshots == 50 | 51 | 52 | == Changelog == 53 | 54 | = 0.5.1 = 55 | - Added the analytics feature 56 | - Some changes to the readme 57 | 58 | = 0.5.0 = 59 | - Initial Release -------------------------------------------------------------------------------- /tags/0.5.2/inc/lhafb_ia.filters.php: -------------------------------------------------------------------------------- 1 | filter_dispatcher(); 16 | } 17 | 18 | /** 19 | * Dispatches the filters needed to format the content for Instant Articles. 20 | * 21 | * @access private 22 | * @return void 23 | */ 24 | private function filter_dispatcher(){ 25 | add_filter( 'afbia_content', array($this, 'images') ); 26 | add_filter( 'afbia_content', array($this, 'headlines') ); 27 | add_filter( 'afbia_content', array($this, 'empty_tags') ); 28 | 29 | } 30 | 31 | 32 | /** 33 | * Format the images for Instant Articles. 34 | * 35 | * @access public 36 | * @param mixed $content 37 | * @return void 38 | */ 39 | public function images($content){ 40 | 41 | $feedback = array(); 42 | $data_feedback = ''; 43 | 44 | if (get_option('afbia_like_media')) { 45 | $feedback[] = 'fb:likes'; 46 | } 47 | 48 | if (get_option('afbia_comment_media')) { 49 | $feedback[] = 'fb:comments'; 50 | } 51 | 52 | if (!empty($feedback)) { 53 | $comma_separated = implode(',', $feedback); 54 | $data_feedback = ' data-feedback="'.$comma_separated.'"'; 55 | } 56 | 57 | // The image is directly at the beginning of the

Tag 58 | /**/ 59 | $content = preg_replace( 60 | '/

\s*?((?:)?(?:<\/a>)?)(.*?)<\/p>/', 61 | '$1

$2

', 62 | $content 63 | ); 64 | 65 | // The image is directly at the end of the

Tag 66 | /**/ 67 | $content = preg_replace( 68 | '/

(.*?)((?:)?(?:<\/a>)?)\s*?<\/p>/', 69 | '

$1

$2', 70 | $content 71 | ); 72 | /**/ 73 | 74 | return $content; 75 | } 76 | 77 | /** 78 | * Format h3, h4 and h5 to h2's for Instant Articles. 79 | * 80 | * @access public 81 | * @param mixed $content 82 | * @return void 83 | */ 84 | public function headlines($content){ 85 | // Replace h3, h4, h5, h6 with h2 86 | $content = preg_replace( 87 | '/(.*)<\/h[3,4,5,6]>/Us', 88 | '

$1

', 89 | $content 90 | ); 91 | 92 | return $content; 93 | } 94 | 95 | /** 96 | * empty_tags function. 97 | * 98 | * @access public 99 | * @param mixed $content 100 | * @return void 101 | */ 102 | public function empty_tags($content){ 103 | // Replace empty characters 104 | $content = preg_replace( 105 | '/

(\s*|\ )<\/p>/', 106 | '', 107 | $content 108 | ); 109 | 110 | return $content; 111 | } 112 | 113 | } -------------------------------------------------------------------------------- /tags/0.5.0/lang/afb.pot: -------------------------------------------------------------------------------- 1 | #, fuzzy 2 | msgid "" 3 | msgstr "" 4 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 5 | "Project-Id-Version: allfacebook Instant Articles\n" 6 | "POT-Creation-Date: 2015-11-27 10:59+0100\n" 7 | "PO-Revision-Date: 2015-11-27 10:59+0100\n" 8 | "Last-Translator: \n" 9 | "Language-Team: \n" 10 | "MIME-Version: 1.0\n" 11 | "Content-Type: text/plain; charset=UTF-8\n" 12 | "Content-Transfer-Encoding: 8bit\n" 13 | "X-Generator: Poedit 1.8.6\n" 14 | "X-Poedit-Basepath: ..\n" 15 | "X-Poedit-WPHeader: afb_instant_articles.php\n" 16 | "X-Poedit-SourceCharset: UTF-8\n" 17 | "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" 18 | "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" 19 | "_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 20 | "X-Poedit-SearchPath-0: .\n" 21 | "X-Poedit-SearchPathExcluded-0: *.js\n" 22 | 23 | #: inc/lhafb_ia.metaboxes.php:38 inc/lhafb_ia.settings.php:97 24 | #: inc/lhafb_ia.settings.php:111 25 | msgid "Instant Articles" 26 | msgstr "" 27 | 28 | #: inc/lhafb_ia.metaboxes.php:67 29 | msgid "Credits" 30 | msgstr "" 31 | 32 | #: inc/lhafb_ia.settings.php:33 33 | msgid "Settings" 34 | msgstr "" 35 | 36 | #: inc/lhafb_ia.settings.php:35 37 | msgid "" 38 | "These settings control some general aspects of the instant article plugin " 39 | "and how your instant articles are shown on facebook." 40 | msgstr "" 41 | 42 | #: inc/lhafb_ia.settings.php:42 43 | msgid "Copyright" 44 | msgstr "" 45 | 46 | #: inc/lhafb_ia.settings.php:45 47 | msgid "The standard copyright details for your instant articles." 48 | msgstr "" 49 | 50 | #: inc/lhafb_ia.settings.php:53 51 | msgid "Tracking" 52 | msgstr "" 53 | 54 | #: inc/lhafb_ia.settings.php:56 55 | msgid "" 56 | "The tracking code, that will be embedded in your instant articles. See this link for more information." 59 | msgstr "" 60 | 61 | #: inc/lhafb_ia.settings.php:64 62 | msgid "Like Media" 63 | msgstr "" 64 | 65 | #: inc/lhafb_ia.settings.php:67 66 | msgid "Allow users to like the media you embedded." 67 | msgstr "" 68 | 69 | #: inc/lhafb_ia.settings.php:75 70 | msgid "Comment Media" 71 | msgstr "" 72 | 73 | #: inc/lhafb_ia.settings.php:78 74 | msgid "Allow users to comment on the media you embedded." 75 | msgstr "" 76 | 77 | #: inc/lhafb_ia.settings.php:111 78 | msgid "Show feed" 79 | msgstr "" 80 | 81 | #: inc/lhafb_ia.settings.php:119 82 | msgid "Save Changes" 83 | msgstr "" 84 | 85 | #: inc/lhafb_ia.settings.php:139 86 | msgid "Successfully updated." 87 | msgstr "" 88 | 89 | #: inc/lhafb_ia.settings.php:309 90 | msgid "Not selected" 91 | msgstr "" 92 | 93 | #. Plugin Name of the plugin/theme 94 | msgid "allfacebook Instant Articles" 95 | msgstr "" 96 | 97 | #. Description of the plugin/theme 98 | msgid "This plugin lets your WordPress display instant articles directly on your facebook page." 99 | msgstr "" 100 | 101 | #. Author of the plugin/theme 102 | msgid "Luehrsen // Heinrich" 103 | msgstr "" 104 | 105 | #. Author URI of the plugin/theme 106 | msgid "http://www.luehrsen-heinrich.de" 107 | msgstr "" 108 | -------------------------------------------------------------------------------- /tags/0.5.1/lang/afb.pot: -------------------------------------------------------------------------------- 1 | #, fuzzy 2 | msgid "" 3 | msgstr "" 4 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 5 | "Project-Id-Version: allfacebook Instant Articles\n" 6 | "POT-Creation-Date: 2015-11-27 10:59+0100\n" 7 | "PO-Revision-Date: 2015-11-27 10:59+0100\n" 8 | "Last-Translator: \n" 9 | "Language-Team: \n" 10 | "MIME-Version: 1.0\n" 11 | "Content-Type: text/plain; charset=UTF-8\n" 12 | "Content-Transfer-Encoding: 8bit\n" 13 | "X-Generator: Poedit 1.8.6\n" 14 | "X-Poedit-Basepath: ..\n" 15 | "X-Poedit-WPHeader: afb_instant_articles.php\n" 16 | "X-Poedit-SourceCharset: UTF-8\n" 17 | "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" 18 | "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" 19 | "_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 20 | "X-Poedit-SearchPath-0: .\n" 21 | "X-Poedit-SearchPathExcluded-0: *.js\n" 22 | 23 | #: inc/lhafb_ia.metaboxes.php:38 inc/lhafb_ia.settings.php:97 24 | #: inc/lhafb_ia.settings.php:111 25 | msgid "Instant Articles" 26 | msgstr "" 27 | 28 | #: inc/lhafb_ia.metaboxes.php:67 29 | msgid "Credits" 30 | msgstr "" 31 | 32 | #: inc/lhafb_ia.settings.php:33 33 | msgid "Settings" 34 | msgstr "" 35 | 36 | #: inc/lhafb_ia.settings.php:35 37 | msgid "" 38 | "These settings control some general aspects of the instant article plugin " 39 | "and how your instant articles are shown on facebook." 40 | msgstr "" 41 | 42 | #: inc/lhafb_ia.settings.php:42 43 | msgid "Copyright" 44 | msgstr "" 45 | 46 | #: inc/lhafb_ia.settings.php:45 47 | msgid "The standard copyright details for your instant articles." 48 | msgstr "" 49 | 50 | #: inc/lhafb_ia.settings.php:53 51 | msgid "Tracking" 52 | msgstr "" 53 | 54 | #: inc/lhafb_ia.settings.php:56 55 | msgid "" 56 | "The tracking code, that will be embedded in your instant articles. See this link for more information." 59 | msgstr "" 60 | 61 | #: inc/lhafb_ia.settings.php:64 62 | msgid "Like Media" 63 | msgstr "" 64 | 65 | #: inc/lhafb_ia.settings.php:67 66 | msgid "Allow users to like the media you embedded." 67 | msgstr "" 68 | 69 | #: inc/lhafb_ia.settings.php:75 70 | msgid "Comment Media" 71 | msgstr "" 72 | 73 | #: inc/lhafb_ia.settings.php:78 74 | msgid "Allow users to comment on the media you embedded." 75 | msgstr "" 76 | 77 | #: inc/lhafb_ia.settings.php:111 78 | msgid "Show feed" 79 | msgstr "" 80 | 81 | #: inc/lhafb_ia.settings.php:119 82 | msgid "Save Changes" 83 | msgstr "" 84 | 85 | #: inc/lhafb_ia.settings.php:139 86 | msgid "Successfully updated." 87 | msgstr "" 88 | 89 | #: inc/lhafb_ia.settings.php:309 90 | msgid "Not selected" 91 | msgstr "" 92 | 93 | #. Plugin Name of the plugin/theme 94 | msgid "allfacebook Instant Articles" 95 | msgstr "" 96 | 97 | #. Description of the plugin/theme 98 | msgid "This plugin lets your WordPress display instant articles directly on your facebook page." 99 | msgstr "" 100 | 101 | #. Author of the plugin/theme 102 | msgid "Luehrsen // Heinrich" 103 | msgstr "" 104 | 105 | #. Author URI of the plugin/theme 106 | msgid "http://www.luehrsen-heinrich.de" 107 | msgstr "" 108 | -------------------------------------------------------------------------------- /tags/0.5.2/lang/afb.pot: -------------------------------------------------------------------------------- 1 | #, fuzzy 2 | msgid "" 3 | msgstr "" 4 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 5 | "Project-Id-Version: allfacebook Instant Articles\n" 6 | "POT-Creation-Date: 2015-11-27 10:59+0100\n" 7 | "PO-Revision-Date: 2015-11-27 10:59+0100\n" 8 | "Last-Translator: \n" 9 | "Language-Team: \n" 10 | "MIME-Version: 1.0\n" 11 | "Content-Type: text/plain; charset=UTF-8\n" 12 | "Content-Transfer-Encoding: 8bit\n" 13 | "X-Generator: Poedit 1.8.6\n" 14 | "X-Poedit-Basepath: ..\n" 15 | "X-Poedit-WPHeader: afb_instant_articles.php\n" 16 | "X-Poedit-SourceCharset: UTF-8\n" 17 | "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" 18 | "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" 19 | "_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 20 | "X-Poedit-SearchPath-0: .\n" 21 | "X-Poedit-SearchPathExcluded-0: *.js\n" 22 | 23 | #: inc/lhafb_ia.metaboxes.php:38 inc/lhafb_ia.settings.php:97 24 | #: inc/lhafb_ia.settings.php:111 25 | msgid "Instant Articles" 26 | msgstr "" 27 | 28 | #: inc/lhafb_ia.metaboxes.php:67 29 | msgid "Credits" 30 | msgstr "" 31 | 32 | #: inc/lhafb_ia.settings.php:33 33 | msgid "Settings" 34 | msgstr "" 35 | 36 | #: inc/lhafb_ia.settings.php:35 37 | msgid "" 38 | "These settings control some general aspects of the instant article plugin " 39 | "and how your instant articles are shown on facebook." 40 | msgstr "" 41 | 42 | #: inc/lhafb_ia.settings.php:42 43 | msgid "Copyright" 44 | msgstr "" 45 | 46 | #: inc/lhafb_ia.settings.php:45 47 | msgid "The standard copyright details for your instant articles." 48 | msgstr "" 49 | 50 | #: inc/lhafb_ia.settings.php:53 51 | msgid "Tracking" 52 | msgstr "" 53 | 54 | #: inc/lhafb_ia.settings.php:56 55 | msgid "" 56 | "The tracking code, that will be embedded in your instant articles. See this link for more information." 59 | msgstr "" 60 | 61 | #: inc/lhafb_ia.settings.php:64 62 | msgid "Like Media" 63 | msgstr "" 64 | 65 | #: inc/lhafb_ia.settings.php:67 66 | msgid "Allow users to like the media you embedded." 67 | msgstr "" 68 | 69 | #: inc/lhafb_ia.settings.php:75 70 | msgid "Comment Media" 71 | msgstr "" 72 | 73 | #: inc/lhafb_ia.settings.php:78 74 | msgid "Allow users to comment on the media you embedded." 75 | msgstr "" 76 | 77 | #: inc/lhafb_ia.settings.php:111 78 | msgid "Show feed" 79 | msgstr "" 80 | 81 | #: inc/lhafb_ia.settings.php:119 82 | msgid "Save Changes" 83 | msgstr "" 84 | 85 | #: inc/lhafb_ia.settings.php:139 86 | msgid "Successfully updated." 87 | msgstr "" 88 | 89 | #: inc/lhafb_ia.settings.php:309 90 | msgid "Not selected" 91 | msgstr "" 92 | 93 | #. Plugin Name of the plugin/theme 94 | msgid "allfacebook Instant Articles" 95 | msgstr "" 96 | 97 | #. Description of the plugin/theme 98 | msgid "This plugin lets your WordPress display instant articles directly on your facebook page." 99 | msgstr "" 100 | 101 | #. Author of the plugin/theme 102 | msgid "Luehrsen // Heinrich" 103 | msgstr "" 104 | 105 | #. Author URI of the plugin/theme 106 | msgid "http://www.luehrsen-heinrich.de" 107 | msgstr "" 108 | --------------------------------------------------------------------------------