<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I am using Framework7, not in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079589#M61062</link>
    <description>&lt;P&gt;I am using Framework7, not sure if that makes a difference?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2016 19:02:02 GMT</pubDate>
    <dc:creator>Chris_M_3</dc:creator>
    <dc:date>2016-01-13T19:02:02Z</dc:date>
    <item>
      <title>RSS Feeds from Wordpress</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079582#M61055</link>
      <description>&lt;P&gt;I have been working on my first app, it has been a struggle for me but I am ending up with something pretty decent. One thing I am really trying to wrap my head around is creating an rss feed for a single wordpress site. I see the tutorial on the data bindings but it is not helping with me with getting a nice wordpress feed into the app. Can anyone point me in a good direction?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2016 13:02:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079582#M61055</guid>
      <dc:creator>Chris_M_3</dc:creator>
      <dc:date>2016-01-09T13:02:01Z</dc:date>
    </item>
    <item>
      <title>Here is documentation for</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079583#M61056</link>
      <description>&lt;P&gt;Here is documentation for using data-binding and web services:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/xdk/docs/using-web-services" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/using-web-services&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In your case, open Web Services from the left panel in Develop tab, select "API Explorer Sandbox" - "GET" and enter your RSS feed URL, and click the "Try It" button, it will load the RSS feed response, follow the documentation above to do the data-binding into your UI.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 20:51:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079583#M61056</guid>
      <dc:creator>Rakshith_K_Intel</dc:creator>
      <dc:date>2016-01-11T20:51:13Z</dc:date>
    </item>
    <item>
      <title>Thanks for that. So I can get</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079584#M61057</link>
      <description>&lt;P&gt;Thanks for that. So I can get the title into the list now, and the date, how do I make it so it opens the blog post in the InAppBrowser when I click on it?&lt;/P&gt;

&lt;P&gt;I am working in Framework7 and I know they have a plugin for RSS feeds. Is this something I can add into the XDK easier?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 10:01:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079584#M61057</guid>
      <dc:creator>Chris_M_3</dc:creator>
      <dc:date>2016-01-12T10:01:57Z</dc:date>
    </item>
    <item>
      <title>you can add an onclick</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079585#M61058</link>
      <description>&lt;P&gt;you can add an onclick attribute to the list item or add a click event handler, and run this code to open InAppBrowser:&lt;/P&gt;

&lt;P&gt;window.open(url, '_blank', 'location=yes');&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 19:35:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079585#M61058</guid>
      <dc:creator>Rakshith_K_Intel</dc:creator>
      <dc:date>2016-01-12T19:35:24Z</dc:date>
    </item>
    <item>
      <title>Ok, this may be a dumb thing</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079586#M61059</link>
      <description>&lt;P&gt;Ok, this may be a dumb thing to ask. But where do I add the onclick? The code to open the InAppBrowser has to be in the .js page right? You cant select a click event in the XDK for the item, so I guess I add it manualy? This is the item I want them to be able to click, then open the block post they want in the InAppBrowser&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;          &amp;lt;div class="widget uib_w_1 d-margins" data-uib="framework7/list_block" data-ver="0"&amp;gt;
                &amp;lt;div class="list-block"&amp;gt;
                  &amp;lt;ul ng-controller="angular_controllers.uib_w_5.controller"&amp;gt;
                    &amp;lt;li class="media-item widget uib_w_5 d-margins" data-uib="framework7/media_item" data-ver="0" data-sm="rsstestapiexplorer" data-sc="multiple" data-rpath=".rss.channel.item[]" ng-repeat="entry in entries" ng-click="select_entry($event, entry)" data-adidx="{{$index}}"&amp;gt;
                      &amp;lt;div class="item-content"&amp;gt;
                        &amp;lt;div class="item-media"&amp;gt;
                          &amp;lt;img height="80"&amp;gt;
                        &amp;lt;/div&amp;gt;
                        &amp;lt;div class="item-inner"&amp;gt;
                          &amp;lt;div class="item-title-row"&amp;gt;
                            &amp;lt;div class="item-title"&amp;gt;{{entry.title}}&amp;lt;/div&amp;gt;
                            &amp;lt;div class="item-after"&amp;gt;&amp;lt;/div&amp;gt;
                          &amp;lt;/div&amp;gt;
                          &amp;lt;div class="item-subtitle"&amp;gt;Posted On&amp;lt;/div&amp;gt;
                          &amp;lt;div class="item-text"&amp;gt;{{entry.pubDate}}&amp;lt;/div&amp;gt;
                        &amp;lt;/div&amp;gt;
                      &amp;lt;/div&amp;gt;
                    &amp;lt;/li&amp;gt;
                  &amp;lt;/ul&amp;gt;
                &amp;lt;/div&amp;gt;
              &amp;lt;/div&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Also, the entry date comes out like with the time behind it, how can I narrow it down to just the month and day?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 11:06:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079586#M61059</guid>
      <dc:creator>Chris_M_3</dc:creator>
      <dc:date>2016-01-13T11:06:44Z</dc:date>
    </item>
    <item>
      <title>Also one more things. I cant</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079587#M61060</link>
      <description>&lt;P&gt;Also one more things. I cant fine a selector for the Featured Image of the wordpress post. Is there any way to add that? I added a plugin to the site that adds it to the feed. &lt;A href="http://jasonhewlett.com/feed/" target="_blank"&gt;http://jasonhewlett.com/feed/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 11:24:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079587#M61060</guid>
      <dc:creator>Chris_M_3</dc:creator>
      <dc:date>2016-01-13T11:24:16Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt; But where do I add the</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079588#M61061</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt; But where do I add the onclick?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Hmmm. The Ionic list items should be showing in the Interactivity pane. &amp;nbsp;But they are absent. I'll make sure that gets updated.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Do the following to add the onclick to your listitems. &amp;nbsp;&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Note it's 'uib', which is a class name. &amp;nbsp;I see in your code above, the media_item has a uib of &amp;nbsp;"uib_w_5".&lt;/LI&gt;
	&lt;LI&gt;If you haven't done so already, add a button to your page (you can throw it away later). &amp;nbsp;Go to the Interactivity pane and set a "Custom Script" on that button, then choose "Edit Custom Script".&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;When the index_init_scripts.js file opens you'll see the handler for your button. The &lt;EM&gt;register_event_handler &lt;/EM&gt;probably looks like this:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt; function register_event_handlers()
 {
    
    /* button  Button */
    $(document).on("click", ".uib_w_6", function(evt)
    {
        /* your code goes here */ 
    });
 }&lt;/PRE&gt;

&lt;P&gt;So, now we are going to add another handler for your media item. It'll look like this:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt; function register_event_handlers()
 {
    
    /* button  Button */
    $(document).on("click", ".uib_w_6", function(evt)
    {
        /* your code goes here */ 
    });
    
     /* mediaitem  */
    $(document).on("click", ".uib_w_5", function(evt)
    {
        /* your code goes here */ 
    });
    
 }&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;So that's the handler for any of those media items. Now, you probably want the "entry". &amp;nbsp;You can get it from the &lt;STRONG&gt;data_support.entry_from_$this&lt;/STRONG&gt; routine. &amp;nbsp;I'll show it:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt; function register_event_handlers()
 {
    
    /* button  Button */
    $(document).on("click", ".uib_w_6", function(evt)
    {
        /* your code goes here */ 
    });
    
     /* mediaitem   */
    $(document).on("click", ".uib_w_5", function(evt)
    {
        var entry = data_support.entry_from_$this($(this));      //entry: {title: pubDate:}
    });
    
 }&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The entry is the individual entry returned from the Ajax request. It has all the fields you saw in the services explorer (not just the ones you put checkboxes next to). &amp;nbsp;I see in your code entry.title and entry.pubDate. &amp;nbsp;So those are there. But there are others as well. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 18:28:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079588#M61061</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2016-01-13T18:28:22Z</dc:date>
    </item>
    <item>
      <title>I am using Framework7, not</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079589#M61062</link>
      <description>&lt;P&gt;I am using Framework7, not sure if that makes a difference?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 19:02:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079589#M61062</guid>
      <dc:creator>Chris_M_3</dc:creator>
      <dc:date>2016-01-13T19:02:02Z</dc:date>
    </item>
    <item>
      <title>Everything above applies</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079590#M61063</link>
      <description>&lt;P&gt;Everything above applies regardless.&lt;/P&gt;

&lt;P&gt;If the framework 7 media items are listed in the Interactivity pane, then you can add a Custom Script directly to the item, and that'll make things slightly easier. But, honestly, it's only saving you a lookup of a uib class name.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 18:24:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079590#M61063</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2016-01-14T18:24:30Z</dc:date>
    </item>
    <item>
      <title>THAKN YOU!!!</title>
      <link>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079591#M61064</link>
      <description>&lt;P&gt;THAKN YOU!!!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;:D&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Rakshith Krishnappa (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Here is documentation for using data-binding and web services:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/xdk/docs/using-web-services"&gt;https://software.intel.com/en-us/xdk/docs/using-web-services&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In your case, open Web Services from the left panel in Develop tab, select "API Explorer Sandbox" - "GET" and enter your RSS feed URL, and click the "Try It" button, it will load the RSS feed response, follow the documentation above to do the data-binding into your UI.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 19:51:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/RSS-Feeds-from-Wordpress/m-p/1079591#M61064</guid>
      <dc:creator>Campanero</dc:creator>
      <dc:date>2016-01-18T19:51:54Z</dc:date>
    </item>
  </channel>
</rss>

