I use Evernote to keep track of my ToDo’s, interesting web pages that I visited, found code snippets or some random thoughts. I have it configured in a browser on my laptop and as a separate app on my smartphone.
“Things” in Evernote are put in notebooks, notebooks can be shared. I’ve been sharing some of my notebooks with friends and colleagues to keep track of joint projects. These shared notebooks have a RSS feed. You can include this feed wherever you want : your favorite news reader or on your own web site.
The snippet below shows that it is fairly easy to accomplish this in WordPress. Unfortunately (as far as I can tell), you can not retrieve the tags of the notes in the RSS feed.
You’ll have to include the snippet somewhere in your WordPress custom theme. I have it in sidebar.php.
The code is also available at Github https://github.com/cudeso/tools.
13 | $rss = fetch_feed( $feed_url . "?max=" . $maxitems_feed . "&sort=2" ); |
15 | if (!is_wp_error( $rss ) ) : |
17 | $maxitems = $rss ->get_item_quantity( $maxitems_feed ); |
19 | $rss_items = $rss ->get_items(0, $maxitems ); |
22 | if (!( $maxitems == 0)) { |
23 | ?><h1><?php _e( 'Evernote Feed' ); ?></h1> |
26 | foreach ( $rss_items as $item ) { |
29 | <a href= '<?php echo esc_url( $item->get_permalink() ); ?>' |
30 | title= '<?php echo ' Posted '.$item->get_date(' j F Y | G:i '); ?>' > |
31 | <?php echo esc_html( $item ->get_title() ); ?></a> |