Posts

Showing posts with the label feed

Medium to Wordpress migration

Image
Even though the writing and reading experience on the  Medium platform is very great,  I had to move my publication to WordPress because Medium's lack of customization. The following steps showing how I did that: 1. Make sure you expose your medium articles to RSS feeds in full text format: Go to "Homepage and settings" >> Syndication >> Select " Full " >> Click " Save " 2. In your wordpress site, install the WP PIPES plugin, activate it: https://wordpress.org/plugins/wp-pipes/ 3. Then go to the Pipes sidebar menu and set it up: Configuring source (RSSReader, https://your.medium.pulication.url/feed) and destination (post): Mapping fields from feeds and wordpress posts: 4. Click " Test this pipe " and enjoy Note: I haven't found a way to migrate the images to WordPress, so I have to do it manually for now.

Fetching external RSS feeds with jQuery and Google Feed API

Sometimes, you just want to fetch the rss feeds from an external site without touching any server code. jQuery and Google Feed API will save your day. rss_parser.js: Then, in your html page or post, use this: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script> <script src="/path/to/parser.js"></script> <div id="myrss" class="box"></div> <script type="text/javascript">       $(function(){             parseRSS('http://mywebsite.com/feed/', '#myrss');       }); </script> The feeds will be inserted into myrss div. Reference:   https://developers.google.com/feed/v1/reference

How to fix RSS Feed parsing error in Wordpress

From last night, whenever I tried to access the feed url of my Wordpress blog, I saw this error: This page contains the following errors: error on line 12 at column 49: Entity 'ndash' not defined Below is a rendering of the page up to the first error. So, here is how I fixed it: 1. First, go to the online feed validator tool to see what was wrong: http://feedvalidator.org/ Enter my blog feed url and see the result. It turned out that there is something wrong with the feed title tag. It includes a strange character called &ndash; 2. Go to the template's include folder, open the template file which defines the feed's title and remove that character. I'm using genbu theme, so I will edit genbu/includes/tamatebako.php , the   tamatebako_wp_title function as following line: ...         /* Add Site Description */         if( is_front_page() ){                 if ( $site_description )...