<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mustapha Turki on Medium]]></title>
        <description><![CDATA[Stories by Mustapha Turki on Medium]]></description>
        <link>https://medium.com/@mustaphaturki?source=rss-9917e55c40bb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2O7wEEXuHWRy1zSW.jpg</url>
            <title>Stories by Mustapha Turki on Medium</title>
            <link>https://medium.com/@mustaphaturki?source=rss-9917e55c40bb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 23:15:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mustaphaturki/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Create your own download manager using Node.js]]></title>
            <link>https://medium.com/@mustaphaturki/create-your-own-download-manager-using-node-js-837cb1475d10?source=rss-9917e55c40bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/837cb1475d10</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Mustapha Turki]]></dc:creator>
            <pubDate>Mon, 18 Jul 2016 14:51:24 GMT</pubDate>
            <atom:updated>2016-07-18T14:51:24.694Z</atom:updated>
            <content:encoded><![CDATA[<p>You are about to create a download manager, which queues, starts and repeats over a list of downloadable content.</p><p>The example used is a download manager for albums of images.</p><h3>The Rule</h3><p>Album downloads are queued. They are not simultaneous, and this save us from server overload.</p><h3>The Downloader object</h3><p>Downloader is a singleton class, instantiated by the view component to listen for events.</p><pre><strong>import</strong> EventEmitter from &#39;events&#39;<br><strong>class</strong> DownloadEmitter <strong>extends</strong> EventEmitter {}</pre><pre><strong>export</strong> <strong>default</strong> <strong>class</strong> Downloader {<br>  constructor() {<br>    <strong>this</strong>.downloadPath <strong>=</strong> &#39;PATH&#39;<br><br>    <strong>if</strong>(<strong>!</strong>fs.existsSync(<strong>this</strong>.downloadPath)) {<br>      fs.mkdirSync(<strong>this</strong>.downloadPath)<br>    }<br><br>    <strong>this</strong>.downloadEmitter <strong>=</strong> <strong>new</strong> DownloadEmitter()<br>  }<br><br>  <strong>static</strong> getInstance() {<br>    <strong>if</strong>(<strong>!</strong>instance) {<br>      instance <strong>=</strong> <strong>new</strong> Downloader()<br>    }<br><br>    <strong>return</strong> instance<br>  }<br>  ...<br>}</pre><pre>In the constructor, we create the folder for downloads, initialize EventEmitter, etc.</pre><p>But what is EventEmitter? Why do we emit events? View components are waiting for something to happend. Either it is a user action or background process result. Thanks to EventEmitter, Donwloader will process those variables to our views. Users will be happy to see the UI state changing because they only trust what they see.</p><h3>The Queue vs The data</h3><p>The queue will hold albums users are going to download. Once donwloaded, an album is removed from the queue.</p><p>Data can hold everything. But for simplicity sake, we represent it this way.</p><p>{ albums: [ { id: 1, images: [ { url: ‘http://i.imgur.com/aWaZqVs.jpg&#39; }, … ] } … ] }</p><pre><strong>let</strong> queue <strong>=</strong> {}<br><br>getAlbum(index) {<br>  <strong>return</strong> queue[Object.keys(queue)[index]]<br>}<br><br>addToQueue(album, cb) {<br>  <strong>const</strong> self <strong>=</strong> <strong>this</strong><br><br>  <em>// XXX Save each album in a different location?</em><br>  <strong>let</strong> dir <strong>=</strong> path.join(self.downloadPath, (album.id).toString())<br>  album.dir <strong>=</strong> dir<br><br>  <em>// Add properties to image donwload progress on a given album</em><br>  album.downloadStarted <strong>=</strong> <strong>false</strong><br>  album.downloadProgress <strong>=</strong> 0<br>  album.downloadedImages <strong>=</strong> []<br><br>  queue[album.id] <strong>=</strong> album<br><br>  self.downloadQueuedAction(album.id)<br><br>  cb()<br>}<br><br>shiftQueue() {<br>  <strong>let</strong> album <strong>=</strong> <strong>this</strong>.getAlbum()<br>  <strong>delete</strong> queue[album.id]<br>}</pre><p>Callback (cb) is a function parameter to execute when we are done with queueing. Callback can perform for example, UI update. Say, ‘Waiting…’</p><p>We will see more about ‘downloadQueuedAction’ later.</p><h3>Download: the main part</h3><p>Request is an awesome HTTP client for node. Its use is not limited to query an api, but to download data from the Internet, and much more.</p><p>In this section, we query the server for images, write them on disk, and move on.</p><p>Let’s start with download behaviour.</p><pre>downloadRequestWithRetry(options, retry, started, progressed, finished) {<br>  <strong>let</strong> self <strong>=</strong> <strong>this</strong><br>  <strong>var</strong> filename <strong>=</strong> (options.id).toString()<br>  <strong>var</strong> writeStream <strong>=</strong> fs.createWriteStream(path.join(options.dir, filename))<br><br>  <strong>let</strong> hasErrors <strong>=</strong> <strong>false</strong><br>  request(options.file, {timeout: 15000})<br>  .on(&#39;response&#39;, <strong>function</strong>(data) {<br>    <em>// Only init download started callback first time</em><br>    <strong>if</strong>(retry <strong>===</strong> 0) {<br>      started(parseInt(data.headers[ &#39;content-length&#39; ]))<br>    }<br>  })<br>  .on(&#39;error&#39;, <strong>function</strong>(err) {<br>    <em>// When an error occurs, re initiate download with retry incremented.</em><br>    <em>// This supposes we are online.</em><br>    hasErrors <strong>=</strong> <strong>true</strong><br>     <strong>if</strong>(retry <strong>&lt;</strong> 5) {<br>      retry <strong>++</strong><br>      self.downloadRequestWithRetry(options, retry, started, progressed, finished)<br>    }<br>  })<br>  .on(&#39;data&#39;, <strong>function</strong>(chunk) {<br>    progressed(chunk.length)<br>  })<br>  .on(&#39;end&#39;, <strong>function</strong>() {<br>    <em>// We don&#39;t call finished callback if an image is not successfully downloaded.</em><br>    <strong>if</strong>(<strong>!</strong>hasErrors) {<br>      finished()<br>    }<br>  })<br>  .pipe(writeStream)<br>}</pre><p>I know it is a long method. But is it not simple enough? First thing that catch your attention is the name of the method. ‘Retry’. Well, if an image download fails due to bad networking, we re execute the same part of the function.</p><p>‘error’ and ‘end’ are both events, both called when request origins errors. ‘end’ event is he result of either successfull/failed download. That’s why we add a boolean to check if the download has been finished successfully. To retrieve the size of the image, we listens for ‘response’ event. Finally, ‘data’ event is triggered as the download progresses.</p><p>We need a starting point for our downloads. It looks this way:</p><pre>downloadNext() {<br>  <strong>let</strong> self <strong>=</strong> <strong>this</strong><br><br>  <em>// Pick the first album on the queue</em><br>  <strong>let</strong> album <strong>=</strong> self.getAlbum(0)<br><br>  self.downloadEmitter.emit(&#39;album-download-started&#39;)<br><br>  <strong>let</strong> images <strong>=</strong> album.images<br><br>  <em>// Variables to track download progress, totalSize equals to sum of</em><br>  <em>// album images size. Received increments itself with every new chunk progress.</em><br>  <strong>let</strong> totalSize <strong>=</strong> 0<br>  <strong>let</strong> received <strong>=</strong> 0<br><br>  images.forEach(<strong>function</strong>(image) {<br>    <strong>let</strong> options <strong>=</strong> {<br>      id: (image.id).toString(),<br>      url: image.url,<br>      dir: album.dir<br>    }<br><br>    self.downloadRequestWithRetry(options, 0,<br>      ((size) <strong>=&gt;</strong> {<br>        totalSize <strong>+=</strong> size<br>      }),<br>      ((data) <strong>=&gt;</strong> {<br>        received <strong>+=</strong> data<br>        <strong>let</strong> progress <strong>=</strong> Math.floor(received <strong>/</strong> totalSize <strong>*</strong> 100)<br><br>        self.downloadEmitter.emit(&#39;album-download-progress&#39;, album.id, progress)<br>      }),<br>      (() <strong>=&gt;</strong> {<br>        album.downloadedImages.push(image.id)<br><br>        <strong>if</strong>(album.downloadedImages.length <strong>==</strong> images.length) {<br>          self.downloadEmitter.emit(&#39;playlist-download-finish&#39;, album.id)<br>          self.downloadFinishedAction()<br>        }<br>      })<br>    )<br>  })<br>}</pre><p>We carefully notice the emitter part. We emit an events when we start downloading an album, to switch from waiting state to downloading. Then we emit the progress event to print progression percentage.</p><p>Starting point ‘downloadNext’ is called when first album is queued, or to process download for pending requests.</p><p>Methods ‘downloadQueuedAction’ and ‘downloadFinishedAction’ are there to initiate main download action over the queue object. You will notice that we also used underscore helpers to check if our queue object is empty. So don’t forget to import it.</p><pre>donwloadQueuedAction() {<br>    <strong>const</strong> self <strong>=</strong> <strong>this</strong><br>    <strong>if</strong>(isDownloading) {<br><br>    }<strong>else</strong> {<br>      self.downloadNext()<br>      isDownloading <strong>=</strong> <strong>true</strong><br>    }<br>  }<br><br>  downloadFinishedAction() {<br>    <strong>const</strong> self <strong>=</strong> <strong>this</strong><br>    self.shiftQueue()<br>    <strong>if</strong>(_.isEmpty(queue)) {<br>      isDownloading <strong>=</strong> <strong>false</strong><br>    } <strong>else</strong> {<br>      self.downloadNext()<br>    }<br>  }</pre><h3>Conclusion</h3><p>We talked about components and views a bit. We could have used React or Vue.js, two awesome libraries for constructing views. Maybe we will add the UI part in the future.</p><p>Doing that way with downloads, we considerably avoided error responses from the server. So it is much safer to process download of one album, and queue others.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=837cb1475d10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Receiving emails in ruby on rails applications]]></title>
            <link>https://medium.com/@mustaphaturki/receiving-emails-in-ruby-on-rails-applications-599e2439a6a3?source=rss-9917e55c40bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/599e2439a6a3</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[rails]]></category>
            <dc:creator><![CDATA[Mustapha Turki]]></dc:creator>
            <pubDate>Mon, 18 Jul 2016 14:43:19 GMT</pubDate>
            <atom:updated>2016-07-18T14:43:19.399Z</atom:updated>
            <content:encoded><![CDATA[<p>Ruby on Rails is well documented, easy to go web framework. But, what happens when you try developing a feature “out of the convention” that requires some advanced level of understanding of the framework?</p><p>What I kept in mind when I read Action mailer documentation at<a href="http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails">action_mailer</a> was the “complex endeavor…”. So, I googled “receiving emails in rails”. Results are the same for you, I’m not sure but…</p><p>My web searches didn’t disappoint me, I guess, Griddler does the job for most of the cases. However, our inbox was a bit off the ordinary, especially when it comes to custom configuration, alongside our client. For example, each client needs to configure their pop3/imap parameters inside the application. Hence, We rejected Griddler method since it needs a configured mx record for the email server within the domain provider. Upset? Never I say.</p><p>Along this tutorial, we will be using <a href="https://github.com/mailman/mailman">Mailman</a>, an incoming mail processing microframework written in Ruby. First, follow the instructions and install the gem in your bundle.</p><h3>Part 1: What should be done?</h3><p>Generate a new mailer with ‘rails generate mailer UserMailer’. This is where messages are handled depending on your needs. In our case, we simply persisted the messages. For this purpose, Message is a rails model with body:text and email:string. Put your hands up and generate the model with rails generate message body:text email:string. Now, in your mailer class, define your method ‘receive’:</p><pre><strong>def</strong> <strong>receive</strong>(message)<br>  message_id <strong>=</strong> message.<strong>subject</strong>[/^update (\d+)$/, 1]<br>	<strong>if</strong> message_id.<strong>present?</strong><br>		part_to_use <strong>=</strong> message.<strong>html_part</strong> <strong>||</strong> message.<strong>text_part</strong> <strong>||</strong> message<br>		Message.<strong>update</strong>(message_id, body: part_to_use.<strong>body</strong>.<strong>decoded</strong>)<br>	<strong>else</strong><br>		Message.<strong>create!</strong> subject: message.<strong>subject</strong>, body: body, email: message.<strong>from</strong><br>	<strong>end</strong><br><strong>end</strong></pre><p>This method looks first for the message if it is present and updated it. If not, it creates a new one. To correctly parse and encode the body, we had to add the following:</p><pre>.<strong>.</strong>.<br><strong>else</strong><br>	body <strong>=</strong> &quot;&quot;<br>	message.<strong>parts</strong>.<strong>each</strong> <strong>do</strong> <strong>|</strong>part<strong>|</strong><br>	  <strong>next</strong> <strong>unless</strong> part.<strong>content_type</strong> <strong>=~</strong> /^text\/html/<br>	  body <strong>&lt;&lt;</strong> part.<strong>decode_body</strong><br>	<strong>end</strong><br>	Message.<strong>create!</strong> subject: message.<strong>subject</strong>, body: body.<strong>force_encoding</strong>(&#39;UTF-8&#39;), email: message.<strong>from</strong><br><strong>end</strong></pre><h3>Part 2: How should it be done?</h3><p>Now that we know what to do with the message, let’s process it. So, under the script directory, create a script called mailman_server.rb:</p><pre><em>#!/usr/bin/env ruby</em><br><br>require &#39;rubygems&#39;<br>require &#39;bundler/setup&#39;<br>require &#39;mailman&#39;<br><br>require File.<strong>expand_path</strong>(File.<strong>dirname</strong>(<strong>__FILE__</strong>) <strong>+</strong> &#39;/../config/environment&#39;)<br><br><em>#Mailman.config.logger = Logger.new(&quot;log/mailman.log&quot;)  # uncomment this if you can want to create a log file</em><br>Mailman.<strong>config</strong>.<strong>poll_interval</strong> <strong>=</strong> 5  <em># change this number as per your needs. Default is 60 seconds</em><br><br>Mailman.<strong>config</strong>.<strong>pop3</strong> <strong>=</strong> {<br>  server: &#39;pop.gmail.com&#39;, port: 995, ssl: <strong>true</strong>,<br>  username:  &quot;GMAIL_USERNAME&quot;,<br>  password:  &quot;GMAIL_PASSWORD&quot;<br>}<br><br>Mailman<strong>::</strong>Application.<strong>run</strong> <strong>do</strong><br>  default <strong>do</strong><br>    <strong>begin</strong><br>    UserMailer.<strong>receive</strong>(message)<br>    <strong>rescue</strong> Exception <strong>=&gt;</strong> e<br>      Mailman.<strong>logger</strong>.<strong>error</strong> &quot;Exception occurred while receiving message:n#{message}&quot;<br>      Mailman.<strong>logger</strong>.<strong>error</strong> [e, <strong>*</strong>e.<strong>backtrace</strong>].<strong>join</strong>(&quot;n&quot;)<br>    <strong>end</strong><br>  <strong>end</strong><br><strong>end</strong></pre><p>As an example, we used gmail pop3 configuration. If you decide to go with imap, don’t forget to change the settings in your Gmail for redirection. Inside the Mailman::Application, lies what we call routes. Inside Default route, we have access to the message object which is an instance of the Mailman::Message. Then, We can call our behaviour from the UserMailer method receive. It is time to test it out by running in the console bundle exec mailman_server.rb. You should see something like:</p><pre>I, INFO -- : Mailman v0.7.3 started<br>I, INFO -- : POP3 receiver enabled (stoufa.turki@gmail.com@pop.gmail.com).<br>I, INFO -- : Polling enabled. Checking every 5 seconds.<br>I, INFO -- : Got new message from &#39;username@gmail.com&#39; with subject &#39;Subject&#39;.</pre><h3>Part 3: What if this is not exactly what we want?</h3><p>All what we have seen previously was blogged before and screen-casted here at <a href="http://railscasts.com/episodes/313-receiving-email-with-mailman?view=comments">mailman-webcast</a>.</p><p>Let’s discuss what we want. We want freedom. We want every client of the application (for example a saas) be able to configure their own email settings. To do this, we created a new model configs where all configuration (server, username, password_encrypted…) and the corespondent user is held. Look at the password column, how do you feel? Scared, Hah! Don’t worry. Generate the model for now and keep it going like a waterfall.</p><p>Regarding the encryption, we used symetric encryption openssl to encrypt/decrypt passwords. This cheatcode is a good place to understand: <a href="https://github.com/augustl/ruby-openssl-cheat-sheet/blob/master/encryption_symmetric.rb">openssl-cheat</a>. So to encrypt the password, we defined the following helper:</p><pre>require &#39;openssl&#39;<br>require &#39;base64&#39;<br><br><strong>module</strong> Mailer<br>	<strong>module</strong> SettingsHelper<br><br>		<strong>def</strong> <strong>encypt_password</strong>(password)<br>			cipher <strong>=</strong> OpenSSL<strong>::</strong>Cipher<strong>::</strong>AES.<strong>new</strong>(128, :CBC)<br>			cipher.<strong>encrypt</strong><br>			cipher.<strong>key</strong> <strong>=</strong> Rails.<strong>application</strong>.<strong>secrets</strong>.<strong>secret_ssl</strong><br>			password_encryped <strong>=</strong> cipher.<strong>update</strong>(params[:password]) <strong>+</strong> cipher.<strong>final</strong><br>			Base64.<strong>strict_encode64</strong> password_encryped<br>		<strong>end</strong><br><br>	<strong>end</strong><br><strong>end</strong></pre><p>But what is the Base64 doing there? It encodes the binary data after encryption to return a ready to persist data format. RegardingRails.application.secrets.secret_ssl, it is the new way to store secrets in Rails 4.2. For more details, see <a href="http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml">rails-upgrade</a></p><p>Our helper is ready, we can use it within the controller:</p><pre>config.<strong>password_encrypted</strong> <strong>=</strong> encypt_password(params[:password_encryped])</pre><p>Now that we have a configuration, we can retrieve it in our server and set it as the config for the Mailman::Application. And as we did for the encryption, we did for the decryption using the same secret.</p><pre>.<strong>..</strong><br><strong>BEGIN</strong> {<br>  <strong>def</strong> <strong>decrypt_password</strong>(password_encrypted)<br>    decipher <strong>=</strong> OpenSSL<strong>::</strong>Cipher<strong>::</strong>AES.<strong>new</strong>(128, :CBC)<br>    decipher.<strong>decrypt</strong><br>    decipher.<strong>key</strong> <strong>=</strong> Rails.<strong>application</strong>.<strong>secrets</strong>.<strong>secret_ssl</strong><br>    password_encrypted <strong>=</strong> Base64.<strong>strict_decode64</strong> password_encrypted<br>    decrypted_password <strong>=</strong> decipher.<strong>update</strong>(password_encrypted) <strong>+</strong> decipher.<strong>final</strong><br>  <strong>end</strong><br><br>  <strong>def</strong> <strong>inbox_config</strong><br>    Config.<strong>find_by</strong> user_id: ARGV[0]<br>  <strong>end</strong><br>}<br><br>Mailman<strong>::</strong>Application.<strong>run</strong> <strong>do</strong><br>  <strong>initialize</strong> <strong>do</strong><br>    Mailman.<strong>config</strong>.<strong>pop3</strong> <strong>=</strong> {<br>      server: &#39;pop.gmail.com&#39;, port: 995, ssl: <strong>true</strong>,<br>      username: inbox_config.<strong>username</strong>,<br>      password: decrypt_password(inbox_config.<strong>password_encrypted</strong>)<br>    }<br>  <strong>end</strong><br>	.<strong>.</strong>.<br><strong>end</strong></pre><p>ARGV[0] stands for the user_id parameter passed when starting the server. By the end, the complete mailman_server.rb:</p><pre><em>#!/usr/bin/env ruby</em><br><br>require &#39;rubygems&#39;<br>require &#39;bundler/setup&#39;<br>require &#39;mailman&#39;<br>require &#39;bcrypt&#39;<br>require &quot;openssl&quot;<br>require &quot;base64&quot;<br><br>require File.<strong>expand_path</strong>(File.<strong>dirname</strong>(<strong>__FILE__</strong>) <strong>+</strong> &#39;/../config/environment&#39;)<br><br><em>#Mailman.config.logger = Logger.new(&quot;log/mailman.log&quot;)  # uncomment this if you can want to create a log file</em><br>Mailman.<strong>config</strong>.<strong>poll_interval</strong> <strong>=</strong> 5  <em># change this number as per your needs. Default is 60 seconds</em><br><br><strong>BEGIN</strong> {<br>  <strong>def</strong> <strong>decrypt_password</strong>(password_encrypted)<br>    decipher <strong>=</strong> OpenSSL<strong>::</strong>Cipher<strong>::</strong>AES.<strong>new</strong>(128, :CBC)<br>    decipher.<strong>decrypt</strong><br>    decipher.<strong>key</strong> <strong>=</strong> Rails.<strong>application</strong>.<strong>secrets</strong>.<strong>secret_ssl</strong><br>    password_encrypted <strong>=</strong> Base64.<strong>strict_decode64</strong> password_encrypted<br>    decrypted_password <strong>=</strong> decipher.<strong>update</strong>(password_encrypted) <strong>+</strong> decipher.<strong>final</strong><br>  <strong>end</strong><br><br>  <strong>def</strong> <strong>inbox_config</strong><br>    Config.<strong>find_by</strong> user_id: ARGV[0]<br>  <strong>end</strong><br>}<br><br>Mailman<strong>::</strong>Application.<strong>run</strong> <strong>do</strong><br>  <strong>initialize</strong> <strong>do</strong><br>    Mailman.<strong>config</strong>.<strong>pop3</strong> <strong>=</strong> {<br>      server: &#39;pop.gmail.com&#39;, port: 995, ssl: <strong>true</strong>,<br>      username: inbox_config.<strong>username</strong>,<br>      password: decrypt_password(inbox_config.<strong>password_encrypted</strong>)<br>    }<br>  <strong>end</strong><br>  default <strong>do</strong><br>    <strong>begin</strong><br>    UserMailer.<strong>receive</strong>(message)<br>    <strong>rescue</strong> Exception <strong>=&gt;</strong> e<br>      Mailman.<strong>logger</strong>.<strong>error</strong> &quot;Exception occurred while receiving message:n#{message}&quot;<br>      Mailman.<strong>logger</strong>.<strong>error</strong> [e, <strong>*</strong>e.<strong>backtrace</strong>].<strong>join</strong>(&quot;n&quot;)<br>    <strong>end</strong><br>  <strong>end</strong><br><strong>end</strong></pre><p>Start the server using the command</p><p>bundle exec script/mailman_server.rb param1</p><p>param1 is the user_id for the used configuration.</p><p>You can also create a daemon for running the server in the background by creating a new file called mailman_daemon.rb:</p><pre><em>#!/usr/bin/env ruby</em><br>require &#39;daemons&#39;<br><br>Daemons.<strong>run</strong> &#39;script/mailman_server.rb&#39;</pre><p>After installing the daemons gem, you are ready to go with bundle exec script/mailman_daemon.rb start — param1. Note that the dashed separation before the params is important.</p><p>##Part 4: Cheers</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=599e2439a6a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>