<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Advice on moving components &#x2F; controllers &#x2F; services out of userModule]]></title><description><![CDATA[<p dir="auto">To make the userModule slimmer, would like to move components, controllers etc out into their own .js files / modules in a directory structure (in public, probably). Is there a recommended module / require syntax for doing so?</p>
]]></description><link>https://forum.mango-os.com/topic/4597/advice-on-moving-components-controllers-services-out-of-usermodule</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 03:47:54 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4597.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Nov 2019 20:32:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Tue, 03 Dec 2019 19:02:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bobday" aria-label="Profile: BobDay">@<bdi>BobDay</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: MattFox">@<bdi>MattFox</bdi></a><br />
<a href="https://forum.infiniteautomation.com/topic/4607/using-webpack-with-user-modules" rel="nofollow ugc">https://forum.infiniteautomation.com/topic/4607/using-webpack-with-user-modules</a></p>
]]></description><link>https://forum.mango-os.com/post/24235</link><guid isPermaLink="true">https://forum.mango-os.com/post/24235</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 03 Dec 2019 19:02:31 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Tue, 03 Dec 2019 00:07:19 GMT]]></title><description><![CDATA[<p dir="auto">well, on second thought then, that would be super!</p>
]]></description><link>https://forum.mango-os.com/post/24214</link><guid isPermaLink="true">https://forum.mango-os.com/post/24214</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Tue, 03 Dec 2019 00:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Tue, 03 Dec 2019 00:06:27 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, <a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: Jared-Wiltshire">@<bdi>Jared-Wiltshire</bdi></a>. Let me bug you when things appear to be getting out of hand!</p>
]]></description><link>https://forum.mango-os.com/post/24213</link><guid isPermaLink="true">https://forum.mango-os.com/post/24213</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Tue, 03 Dec 2019 00:06:27 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Tue, 03 Dec 2019 00:06:11 GMT]]></title><description><![CDATA[<p dir="auto">Sorry to storm in but I think that'd be beneficial for a lot of people Jared. Also thanks for your input, I think I've lost sight of a few things lately!</p>
]]></description><link>https://forum.mango-os.com/post/24212</link><guid isPermaLink="true">https://forum.mango-os.com/post/24212</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Tue, 03 Dec 2019 00:06:11 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Tue, 03 Dec 2019 00:05:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bobday" aria-label="Profile: bobday">@<bdi>bobday</bdi></a> said in <a href="/post/24210">Advice on moving components / controllers / services out of userModule</a>:</p>
<blockquote>
<p dir="auto">Is there anything about using Webpack with mango?</p>
</blockquote>
<p dir="auto">Not currently but I could put together a little help section tomorrow.</p>
]]></description><link>https://forum.mango-os.com/post/24211</link><guid isPermaLink="true">https://forum.mango-os.com/post/24211</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 03 Dec 2019 00:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 23:54:28 GMT]]></title><description><![CDATA[<p dir="auto">yes - that occurred to me - might make things a little more straightforward. Thanks - didn't think about the REST rate issue. Is there anything about using Webpack with mango?</p>
]]></description><link>https://forum.mango-os.com/post/24210</link><guid isPermaLink="true">https://forum.mango-os.com/post/24210</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Mon, 02 Dec 2019 23:54:28 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 23:19:01 GMT]]></title><description><![CDATA[<p dir="auto">Just be careful with splitting out your user modules into too many files, you may hit the REST rate limiter and your page could fail to load. Test it out with cache disabled to make sure. You can adjust the rate limits in env.properties.</p>
<p dir="auto">As I mentioned in the other thread, you may want to consider using Webpack if your project becomes cumbersome.</p>
]]></description><link>https://forum.mango-os.com/post/24205</link><guid isPermaLink="true">https://forum.mango-os.com/post/24205</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 02 Dec 2019 23:19:01 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 16:10:33 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. I tried that, but obviously suffered pilot error in the process. Good point why bother...</p>
]]></description><link>https://forum.mango-os.com/post/24188</link><guid isPermaLink="true">https://forum.mango-os.com/post/24188</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Mon, 02 Dec 2019 16:10:33 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 07:12:30 GMT]]></title><description><![CDATA[<p dir="auto">I'm a little confused as to why you'd want to go that far but I <em>believe</em> you'd do something along the lines of..<br />
/opt/mango36/overrides/web/modules/mangoUI/web/dev/controllers/pushCtrl.js</p>
<pre><code>define(['angular', 'require'], function (angular, require) {

  pushCtrl.$inject = ['$scope','$timeout'];

  function pushCtrl($scope,$timeout) 
  {
    const $ctrl = this;
    $ctrl.$onChanges = function (changes) {
      if (changes.points &amp;&amp; Array.isArray($ctrl.points)) {

        $ctrl.point = $ctrl.points.find(p =&gt; p.xid === 'DP_ind_' + $ctrl.target);
        $ctrl.switchPoint = $ctrl.points.find(p =&gt; p.xid === 'DP_sw_' + $ctrl.target);

        $ctrl.ptCSS = { // point css values for color and blink; ex, ng-class=""
          get color(){
            if ($ctrl.point.color &lt; 10) {
              return 0;
            }
            return Math.floor($ctrl.point.value / 10)},
          get blink(){return 'blink' + $ctrl.point.value % 10},
          get colStyle(){return 'color'+this.color}
        };

        $timeout(function() {
          console.log('color:', $ctrl.ptCSS.colStyle, 'blink:', $ctrl.ptCSS.blink );
        },1000);
      }
    };

    $ctrl.pushed = function() {
      console.log($ctrl.switchPoint.value);
        if ($ctrl.switchPoint) {
            $ctrl.switchPoint.toggleValue();
          console.log('switch ' + $ctrl.target + ' was switched.' );
       }
    };
  }

return pushCtrl;
)};//define
</code></pre>
<p dir="auto">then pushLamp.js:</p>
<pre><code>define(['angular', 'require','/modules/web/mangoUI/web/dev/controllers/pushCtrl.js'], function (angular, require,pushCtrl) {

return {
      templateUrl: '/modules/mangoUI/web/dev/push/push.html',
      bindings: {
        points: '&lt;',
        target: '@'
      },
      controller: pushCtrl
    };

});//define
</code></pre>
<p dir="auto">I'm confident you can leverage require in the userModule.js to shorten that controller call into a single word but I've not done a great deal of angularJS lately due to other work commitments....</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/24181</link><guid isPermaLink="true">https://forum.mango-os.com/post/24181</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 02 Dec 2019 07:12:30 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 05:56:21 GMT]]></title><description><![CDATA[<p dir="auto">ok, <a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: MattFox">@<bdi>MattFox</bdi></a>... I feel like a post (as in dumb as one). Can you refresh me again as to how to now break out (and where to declare) the <em>component's</em> controller in its own file?</p>
<p dir="auto">userModule.js</p>
<pre><code>define(['angular', 'require','./push/pushLamp.js'],
  function (angular, require, pushLamp) {
    var userModule = angular.module('userModule', ['maUiApp']);

    userModule.filter('unsafe', ['$sce', function($sce) {
       return $sce.trustAsHtml;
    }]);

    try
    {
      userModule.component('pushLamp',pushLamp);
    }
    catch(e)
    {
      console.log('error: ', e);
    }
    return userModule.js;

});
</code></pre>
<p dir="auto">pushLamp.js:</p>
<pre><code>define(['angular', 'require'], function (angular, require) {

  pushCtrl.$inject = ['$scope','$timeout'];

  function pushCtrl($scope,$timeout) {

    const $ctrl = this;
    $ctrl.$onChanges = function (changes) {
      if (changes.points &amp;&amp; Array.isArray($ctrl.points)) {

        $ctrl.point = $ctrl.points.find(p =&gt; p.xid === 'DP_ind_' + $ctrl.target);
        $ctrl.switchPoint = $ctrl.points.find(p =&gt; p.xid === 'DP_sw_' + $ctrl.target);

        $ctrl.ptCSS = { // point css values for color and blink; ex, ng-class=""
          get color(){
            if ($ctrl.point.color &lt; 10) {
              return 0;
            }
            return Math.floor($ctrl.point.value / 10)},
          get blink(){return 'blink' + $ctrl.point.value % 10},
          get colStyle(){return 'color'+this.color}
        };

        $timeout(function() {
          console.log('color:', $ctrl.ptCSS.colStyle, 'blink:', $ctrl.ptCSS.blink );
        },1000);
      }
    };

    $ctrl.pushed = function() {
      console.log($ctrl.switchPoint.value);
        if ($ctrl.switchPoint) {
            $ctrl.switchPoint.toggleValue();
          console.log('switch ' + $ctrl.target + ' was switched.' );
       }
    };
  }

return {
      templateUrl: '/modules/mangoUI/web/dev/push/push.html',
      bindings: {
        points: '&lt;',
        target: '@'
      },
      controller: pushCtrl
    };

});</code></pre>
]]></description><link>https://forum.mango-os.com/post/24179</link><guid isPermaLink="true">https://forum.mango-os.com/post/24179</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Mon, 02 Dec 2019 05:56:21 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 01:38:49 GMT]]></title><description><![CDATA[<p dir="auto">Fixed, just mixed up the full path of the file with the userModule URL after closer inspection.</p>
]]></description><link>https://forum.mango-os.com/post/24176</link><guid isPermaLink="true">https://forum.mango-os.com/post/24176</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 02 Dec 2019 01:38:49 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 00:04:43 GMT]]></title><description><![CDATA[<p dir="auto">so WE did! same problem tho.</p>
<p dir="auto">lets take this back to chat...</p>
]]></description><link>https://forum.mango-os.com/post/24173</link><guid isPermaLink="true">https://forum.mango-os.com/post/24173</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Mon, 02 Dec 2019 00:04:43 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Mon, 02 Dec 2019 00:02:48 GMT]]></title><description><![CDATA[<p dir="auto">I know what i've done wrong....</p>
<p dir="auto">I didn't return the user module!<br />
So sorry man!</p>
<pre><code>define(['angular', 'require','./components/pushLamp.js'],
  function (angular, require, pushLamp) {
    var userModule = angular.module('userModule', ['maUiApp']);

    userModule.filter('unsafe', ['$sce', function($sce) {
       return $sce.trustAsHtml;
    }]);

    try
    {
      userModule.component('pushLamp',pushLamp);
    }
    catch(e)
    {
      console.log('error: ', e);
    }
 return userModule; //MISSING THIS!!! aerghhh I hate mondays...
});
</code></pre>
<p dir="auto">Man I need  a swift kick...</p>
]]></description><link>https://forum.mango-os.com/post/24172</link><guid isPermaLink="true">https://forum.mango-os.com/post/24172</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 02 Dec 2019 00:02:48 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 23:48:34 GMT]]></title><description><![CDATA[<pre><code>mangoUI/web/dev
▶ cat /opt/mango36/overrides/web/modules/mangoUI/web/dev/userModule.js
define(['angular', 'require','./components/pushLamp.js'],
  function (angular, require, pushLamp) {
    var userModule = angular.module('userModule', ['maUiApp']);

    userModule.filter('unsafe', ['$sce', function($sce) {
       return $sce.trustAsHtml;
    }]);

    try
    {
      userModule.component('pushLamp',pushLamp);
    }
    catch(e)
    {
      console.log('error: ', e);
    }

});
</code></pre>
<p dir="auto">...just checking</p>
]]></description><link>https://forum.mango-os.com/post/24171</link><guid isPermaLink="true">https://forum.mango-os.com/post/24171</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Sun, 01 Dec 2019 23:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 23:33:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: mattfox">@<bdi>mattfox</bdi></a> said in <a href="/post/24169">Advice on moving components / controllers / services out of userModule</a>:</p>
<blockquote>
<p dir="auto">ps aux | grep java</p>
</blockquote>
<pre><code>▶ ps aux | grep java

root             81841   1.4  5.1  8617284 855636 s000  S     1:51PM   4:13.58 /usr/bin/java -server -cp /opt/mango36/overrides/classes:/opt/mango36/classes:/opt/mango36/overrides/properties:/opt/mango36/overrides/lib/*:/opt/mango36/lib/* -Dma.home=/opt/mango36 -Djava.library.path=/opt/mango36/overrides/lib:/opt/mango36/lib:/usr/lib/jni/:/Users/bullit/.jenv/bin:/Users/bullit/local/n/bin/:/Users/bullit/local/n/bin/node:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/Users/bullit/bin:/Users/bullit/local/n/bin:/usr/bin/pear:/usr/local/bin/dayone com.serotonin.m2m2.Main
bullit           87269   0.0  0.0  2424612   1248 s001  R+    3:42PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn java
</code></pre>
<p dir="auto">bullit has read/write access...</p>
]]></description><link>https://forum.mango-os.com/post/24170</link><guid isPermaLink="true">https://forum.mango-os.com/post/24170</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Sun, 01 Dec 2019 23:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 23:32:15 GMT]]></title><description><![CDATA[<pre><code>ps aux | grep java

</code></pre>
<p dir="auto">This will tell us what mango runs as. Also can you also print</p>
<pre><code>ls -la /opt/mango36/overrides/web/modules/mangoUI/web/dev
</code></pre>
]]></description><link>https://forum.mango-os.com/post/24169</link><guid isPermaLink="true">https://forum.mango-os.com/post/24169</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Sun, 01 Dec 2019 23:32:15 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 23:24:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: mattfox">@<bdi>mattfox</bdi></a> said in <a href="/post/24167">Advice on moving components / controllers / services out of userModule</a>:</p>
<blockquote>
<p dir="auto">sudo find /opt/mango36/overrides -type d -exec chmod 755 {} ;</p>
</blockquote>
<p dir="auto">I assume it runs as root - I have to sudo to start it. In any event, the entire mango36 directory is recursively 755.</p>
<p dir="auto">and still no joy.</p>
]]></description><link>https://forum.mango-os.com/post/24168</link><guid isPermaLink="true">https://forum.mango-os.com/post/24168</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Sun, 01 Dec 2019 23:24:45 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 23:16:46 GMT]]></title><description><![CDATA[<p dir="auto">nope that's definitely correct, check your directory permissions and the owner.<br />
I'll wager mango itself may not have access to the file.<br />
Whatever the user runs as in mango set that as your modules etc directories for a start.<br />
up to web. everything inside that shouldn't matter.</p>
<p dir="auto">We'll start with that and work our way up from there...</p>
<pre><code>sudo chown [user]:[user] /opt/mango36/overrides -R
</code></pre>
<pre><code>sudo find /opt/mango36/overrides -type d -exec chmod 755 {} \;</code></pre>
]]></description><link>https://forum.mango-os.com/post/24167</link><guid isPermaLink="true">https://forum.mango-os.com/post/24167</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Sun, 01 Dec 2019 23:16:46 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 23:04:51 GMT]]></title><description><![CDATA[<p dir="auto">(osx)<br />
pwd<br />
/opt/mango36/overrides/web/modules/mangoUI/web/dev</p>
]]></description><link>https://forum.mango-os.com/post/24166</link><guid isPermaLink="true">https://forum.mango-os.com/post/24166</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Sun, 01 Dec 2019 23:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 23:02:22 GMT]]></title><description><![CDATA[<p dir="auto">if you're in linux, can you navigate to the directory where your usermodule is and enter</p>
<pre><code>pwd
</code></pre>
<p dir="auto">otherwise if in windows, open a command prompt in the location and enter</p>
<pre><code>DIR
</code></pre>
<p dir="auto">to print the path</p>
]]></description><link>https://forum.mango-os.com/post/24165</link><guid isPermaLink="true">https://forum.mango-os.com/post/24165</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Sun, 01 Dec 2019 23:02:22 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 22:58:01 GMT]]></title><description><![CDATA[<p dir="auto">nope.  clearly have a path issue here...</p>
]]></description><link>https://forum.mango-os.com/post/24164</link><guid isPermaLink="true">https://forum.mango-os.com/post/24164</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Sun, 01 Dec 2019 22:58:01 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 22:58:13 GMT]]></title><description><![CDATA[<p dir="auto">nope, just wanted to make sure you did have the files inside the mango's installation directory regardless of how it is named.</p>
<p dir="auto">Did the http requests from your browser work?</p>
<p dir="auto">If the mango is on localhost it'd be localhost/modules/mangoUI/web/dev/userModule.js</p>
]]></description><link>https://forum.mango-os.com/post/24163</link><guid isPermaLink="true">https://forum.mango-os.com/post/24163</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Sun, 01 Dec 2019 22:58:13 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 22:47:11 GMT]]></title><description><![CDATA[<p dir="auto">yes, but using Mango36 in the url... as in <code>/opt/mango36/overrides/web/modules/mangoUI/web/dev/userModule.js</code></p>
<p dir="auto">hmmm... does it need to live in /mango?</p>
]]></description><link>https://forum.mango-os.com/post/24162</link><guid isPermaLink="true">https://forum.mango-os.com/post/24162</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Sun, 01 Dec 2019 22:47:11 GMT</pubDate></item><item><title><![CDATA[Reply to Advice on moving components &#x2F; controllers &#x2F; services out of userModule on Sun, 01 Dec 2019 22:37:01 GMT]]></title><description><![CDATA[<p dir="auto">Hang on, your mango install is in <code>/opt/mango36</code>  ?<br />
Not in <code>/opt/mango</code> ?</p>
]]></description><link>https://forum.mango-os.com/post/24161</link><guid isPermaLink="true">https://forum.mango-os.com/post/24161</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Sun, 01 Dec 2019 22:37:01 GMT</pubDate></item></channel></rss>