RSS2Yandex Feed Template for displaying RSS2 Posts feed with Yandex.News compatible.
Yandex.News is the first news service in Russia that automatically processes and systemizes news stories, providing the day's headlines and a search of literally hundreds of news sources.
Specialists in various fields use the service: economists, entrepreneurs, journalists, political analysts, IT specialists, employees of the State Information Service and private companies.
A simple to use feed template that makes feed for Yandex.News service. The new feed availeble after installation by simple URL, like that:
http://site.com/?feed=rss2yandex
or that:
http://site.com/export.php
Choose one of the two ways to installation feed template:
- Upload
feed-rss2yandex.php
to the/wp-includes
directory - Open
functions.php
into you theme folder (path like/wp-content/themes/[theme]/functions.php
) - Insert this code into
functions.php
:
add_action('do_feed_rss2yandex', 'acme_product_feed_rss2yandex', 10, 1 ); function acme_product_feed_rss2yandex() { load_template( ABSPATH . WPINC . '/feed-rss2yandex.php' ); }
- That's all, now you can test feed: http://site.com/?feed=rss2yandex
- Upload
feed-rss2yandex.php
to the/wp-includes
directory - Upload
wp-export.php
to the WP root directory - That's all, now you can test feed: http://site.com/export.php
- Fixed generation
- Fixed generation yandex:related
- Extracting of images and external now is a single functions
- Now feed contains auto-generated yandex:related
- Small improvements into image extraction regexp
- Created array with basic settings, now you can change meta-values
- Fixed prepare "yandex:full-timext" and grabbing under-more text
- Added basic comments and other small changes.
- Tabs changed to spaces
- Other fixes
- First version, lets test it :-)
This feed template is built and maintained by Maxim Borzov