<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cedric W</title>
    <description>The latest articles on DEV Community by Cedric W (@horus_sky).</description>
    <link>https://dev.to/horus_sky</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F142389%2Fa153052f-b5b4-4627-a811-e708ad0e80fa.jpg</url>
      <title>DEV Community: Cedric W</title>
      <link>https://dev.to/horus_sky</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/horus_sky"/>
    <language>en</language>
    <item>
      <title>URL Routing for Simple Websites</title>
      <dc:creator>Cedric W</dc:creator>
      <pubDate>Fri, 12 Apr 2019 17:10:17 +0000</pubDate>
      <link>https://dev.to/horus_sky/url-routing-for-simple-websites-5bao</link>
      <guid>https://dev.to/horus_sky/url-routing-for-simple-websites-5bao</guid>
      <description>&lt;p&gt;For a simple website (not Vue, React, non-framework), can you set up a routing system for url's or is it better to store url's within a simple list or array?&lt;/p&gt;

&lt;p&gt;Currently I use htaccess file to rewrite urls to remove trailing slashes and file extensions. Is there a better way other than htaccess? FYI, I'm working in php mostly out because of familiarity and includes, but not a MVC setup. A very simple website that's not pulling from a database. Any recommendations are welcome.&lt;/p&gt;

</description>
      <category>help</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Changing Fill of SVG within an Image tag</title>
      <dc:creator>Cedric W</dc:creator>
      <pubDate>Tue, 05 Mar 2019 17:30:00 +0000</pubDate>
      <link>https://dev.to/horus_sky/changing-fill-of-svg-within-an-image-tag-37ji</link>
      <guid>https://dev.to/horus_sky/changing-fill-of-svg-within-an-image-tag-37ji</guid>
      <description>&lt;h3&gt;&lt;em&gt;Is there a way to change the fill of a `svg` within an `img src` outside of the svg itself? &lt;/em&gt;&lt;/h3&gt;

&lt;p&gt;e.g.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;img src="/images/logo.svg" alt="company logo"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understand that I can simply change the fill within the svg code itself. I also understand if the svg is inline, I can use CSS to change the fill. Currently I am having issues changing the fill within a print style sheet.&lt;/p&gt;

&lt;h4&gt;The scenario&lt;/h4&gt;

&lt;p&gt;I am using a svg logo that has a 'fill' of white. But I want to swap the fill from white to black on the print stylesheet, so when a client prints a page, the svg actually shows up on white paper.&lt;/p&gt;

&lt;p&gt;Adding any css on my print stylesheet does not affect the svg. Is there a way to change the fill purely with CSS, or would I need to reformat how I am referencing the SVG itself, or would I need to use JS?&lt;/p&gt;

</description>
      <category>help</category>
    </item>
  </channel>
</rss>
