<?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 Surya Kumar on Medium]]></title>
        <description><![CDATA[Stories by Surya Kumar on Medium]]></description>
        <link>https://medium.com/@iamssurya?source=rss-eb7ef31de219------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gfYNI6C-UC2q4b0b0QKmfQ.jpeg</url>
            <title>Stories by Surya Kumar on Medium</title>
            <link>https://medium.com/@iamssurya?source=rss-eb7ef31de219------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 18:28:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iamssurya/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[Generating XML Sitemaps for Angular/React]]></title>
            <link>https://medium.com/@iamssurya/generating-xml-sitemaps-for-angular-react-73514c2a62a6?source=rss-eb7ef31de219------2</link>
            <guid isPermaLink="false">https://medium.com/p/73514c2a62a6</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[sitemap]]></category>
            <category><![CDATA[xml-sitemap]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[seo]]></category>
            <dc:creator><![CDATA[Surya Kumar]]></dc:creator>
            <pubDate>Wed, 12 Jun 2019 03:54:10 GMT</pubDate>
            <atom:updated>2023-06-20T11:11:05.905Z</atom:updated>
            <content:encoded><![CDATA[<p>Howdy! Sitemaps have always been an important factor in getting your website the visibility it needs by providing additional information to Search engines by crawling through the pages in your web application and indexing them.</p><p>Most of the online sitemap generators work well with the websites built with old-school tech like PHP, but not with modern JS applications built with Angular or React for instance.</p><p>Sitemapper-for-js is a very simple Sitemap generator tool that works great with Angular &amp; React applications. This tool runs on Nodejs</p><p><a href="https://github.com/Comcast/sitemapper-for-js">GitHub - Comcast/sitemapper-for-js: Generate XML sitemaps for JS Websites (Supports Angular, React)</a></p><p>To begin with,</p><p><em>Clone </em><em>sitemapper-for-js repo to your system</em></p><pre>git clone <a href="https://github.com/Comcast/sitemapper-for-js.git">https://github.com/Comcast/sitemapper-for-js.git</a></pre><p><em>Fetch all dependencies to your repository</em></p><pre>npm install</pre><p><em>Time to set things up</em></p><p>Open config.example.js , you can find the below snippet</p><pre>module.exports  = {<br>    base: &#39;https://www.xfinity.com&#39;, // website url<br>    urls: [ // list of pages you want to crawl<br>        &#39;https://www.xfinity.com/mobile&#39;, <br>        &#39;https://www.xfinity.com/mobile/plan&#39;<br>    ],<br>    strictPresence: &#39;www.xfinity.com/mobile/&#39;, // url will be added to xml only if this exists<br>    ignoreStrings: [ // ignore any url that has these texts<br>        &#39;img.xfinity&#39;,<br>        &#39;styles.&#39;,<br>        &#39;m.me&#39;<br>    ],<br>    autoCrawl: false, // Recursive crawling functionality<br>    crawlLevel: 0, // Recursive calling for pages upto &#39;x&#39; levels<br>    pageLoad: { // page load configuration<br>        waitUntil: &#39;networkidle0&#39;,<br>        timeout: 3000000<br>    },<br>    disableHashRoutes: false, // disable routes with Hash in it<br>    sortBy: &#39;asc&#39; // &#39;asc&#39; | &#39;dsc&#39; | &#39;none&#39;<br>}</pre><ul><li>Rename config.example.js to config.js</li><li>Replace base with the website, you want to generate the sitemap.</li><li>This tool works in two different modes — Manual &amp; Auto crawling.</li></ul><p><strong>Manual Crawling</strong></p><ul><li>Manual Crawl crawls through links listed in urls and picks all the links and creates a sitemap.</li><li>urls is meaningless with autoCrawl turned on</li></ul><p><strong>Auto Crawling</strong></p><ul><li>Auto Crawl takes just the base URL and recursively crawls through different links present in the base and creates a sitemap from all of those.</li><li>This feature excludes any outbound links in the page from crawling.</li></ul><p>You can turn this feature on/off using autoCrawlflag</p><ul><li>crawlLevel — Allows you to specify the number of child routes you would like to crawl in case of auto-crawling</li></ul><pre>E.g.: Lets assume the base url https://abc.com/,</pre><pre>crawlLevel=1 would crawl in pattern https://abc.com/&lt;any-path&gt; crawlLevel=2 would crawl in pattern https://abc.com/&lt;any-path&gt;/&lt;any-path&gt;</pre><ul><li>pageLoad — basically page load settings inherited from <a href="https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagegotourl-options">puppeteer configuration</a></li><li>disableHashRoutes — To Ignore any routes with # in it</li></ul><pre>E.g: (disableHashRoutes: false; - simply ignores below links</pre><pre><a href="https://abc.com/#section2">https://abc.com/#section2</a><br><a href="https://abc.com/#/section2">https://abc.com/#/section2</a><br>https://abc.com/about#section4</pre><h3>Final Step</h3><p>npm start will run the tool and create sitemap.xml</p><blockquote>To Contribute, feel free to raise Pull Request! Reach out to iamssurya@gmail.com for any queries.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73514c2a62a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fantastic Augmented Reality]]></title>
            <link>https://medium.com/@iamssurya/fantastic-augmented-reality-b73bd50d524d?source=rss-eb7ef31de219------2</link>
            <guid isPermaLink="false">https://medium.com/p/b73bd50d524d</guid>
            <category><![CDATA[fantasy]]></category>
            <category><![CDATA[augmented-reality]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[mixed-reality]]></category>
            <dc:creator><![CDATA[Surya Kumar]]></dc:creator>
            <pubDate>Wed, 19 Jul 2017 04:49:02 GMT</pubDate>
            <atom:updated>2017-07-19T15:43:39.296Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p><em>Know the interesting ways AR will be implemented in the advanced technology era.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*L4PnEBojRquHRnYkKgrxxw.gif" /></figure><p><strong>Augmented reality (AR)</strong> has been the popular talks of the world since the technology giants from Facebook to Microsoft started to bet huge on it. This article has a partly superficial visions of how AR will impact day to day life of the people. AR is limited to smartphones &amp; VR headsets, but very soon it would transform into wearable glasses and contact lenses, that gives more immersive AR experience.</p><p><em>Let’s assume that the users have AR enabled glasses and see how that would impact upon us.</em></p><h3><strong>From Waking up</strong></h3><p>The first thing you would do after waking up is to wear the AR glasses. Now, you have all the details like the quality of sleep you had, day’s schedules to the appointments augmented right before you in wall or ceiling. You can view all the messages &amp; emails you received and respond.</p><p>You would control everything with your hand gestures. Before you rise from your bed, you would know the latest happenings in the city through augmented newspapers. You could even see if your bed coffee is ready. <em>Internet of Things (IoT)</em> enabled devices will be under control of your hand and you could do it right from the bed.</p><h3>Learning &amp; Tutoring</h3><p>You will have a trainer every time with you virtually to instruct yoga postures or aerobic workouts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*VFUhb2COWyn2PzibUfpeJw.gif" /></figure><p>You can even learn to dance, sing, play guitar or anything from your place with your instructor virtually guiding you. It may happen live or recorded one could be played. This would bring more fun even in the complicated task and provides the advantage of personalized tutoring from the trainer in the form of <em>3D projection</em>. You can avoid paying too much to invite the trainer to your place or traveling to the place where the trainer is available. You can find trainers across the globe breaking all the boundaries and schedule for augmented training.</p><p><em>AR will disrupt the way webinars and workshops happens today.</em></p><h3><strong>TV &amp; Cinema</strong></h3><blockquote>We don’t need a physical TV. We can buy a $1 app ‘TV’ and put it on the wall and watch it — Mark Zuckerberg</blockquote><p>When you are watching TV with your family, everyone would watch different channels upon their interest, simultaneously. Tata Sky or Comcast’s Xfinity will directly feed the channels to your AR glasses thereby allowing you to choose channels you want to watch. You control the TV with your fingers in the air.</p><p>A step ahead, 3D videos will be more realistic that the characters almost stand with you and play their roles. You literally stand between the situation of the movie and watch it 360 degrees.</p><p>Maybe in <strong>Iron Man 4</strong>, <em>Tony Stark</em> would be creating new suits for him in your living room. Endless imaginations are possible with AR and any idea would be a disrupting prototype sometime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*bxUW9UE9fPDPOcva6ZE3tA.gif" /></figure><p>There will be cinemas with no chairs where you roam around the hall and watch the movie as you wish like standing near the character of your choice.</p><h3><strong>No more hand-held devices</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Xl-dlNJUxZ5xTVsy5arrcg.gif" /></figure><p><em>You will not be carrying any smartphones,</em> <em>tablets</em> since you have everything right in front of your eyes. You can see your augmented smartphone on your hand and you do the same what you would do with physical mobile. You could type messages, call your friends, play games, surf the internet with your hand gestures.</p><p><em>Wrist Watches</em> will lose its uses including the smart watches. People can see the different style of virtual watches you wear with their AR glasses. It feels like you wear different watches every day. And, Everything you set with a wave of your hands. This will minimize the layer between real and virtual world.</p><h3><strong>Get-to-Gather</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*6egHRFFwEmoCd9aNHPZvoA.gif" /></figure><p><em>Augmented Reality</em> will change the way you have video calls with your pals. It would bring the person to your place, sit next to your couch and have the conversation. Conferences, seminars, celebrations, ceremonies, sports events etc. will be possible in a way where people would gather together in a place with just Augmented Reality.</p><blockquote><em>You could dress up like a star and attend the Oscars right from your living room.</em></blockquote><p>Not holograms, but a more realistic living human interactions that happen virtually by wearing just AR glasses.</p><h3><strong>Driving</strong></h3><p>You don’t have to look at your smartphone every time you use maps for navigation. Imagine an augmented human riding a bike before you for you to follow. It may even safeguard you from accidents, take you to best route possible based on the size of your vehicle(especially, in India). It will control you from over-speeding and alerts other drivers on road about your action. And in the case of any health issues while driving, In spite of just alarming, it would project the video of you to other drivers on the road for them to take necessary action.</p><p>All these will be done by the virtual human augmented before you. <em>You can even choose how he/she should look like.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*DzFZ8h-Iv6oV-04rc5l5LA.gif" /></figure><h3><strong>Learning people</strong></h3><p>Although the terminology looks complicated, with AR it would be simplified. Machine Learning would play a major role in foretelling the characteristics of a person based on the history. When you are looking at the person, everything would be labeled on him/her. By this, you would avoid judging the person on your first meet.</p><ul><li>This idea would be largely useful for police officers to classify the criminal based on the records, on the fly, without having to investigate.</li><li>Teachers could easily know the history of the student at a glance and choose the best possible method to teach them.</li><li>Doctors could see all the medical stories as virtual projections over the body of the patient and make the diagnosis better. <em>Imagine wearing the AR glass and seeing the skeleton of the person before you</em>.</li></ul><h3><strong>Fix things yourself</strong></h3><p><em>Trying to fix leaking tap? Doesn’t know how to assemble your computer? </em>You can do it easily with an augmented demonstration or even have an expert who can teach you virtually by projecting over the real system. In the video below, you can see how the elevators are fixed through augmented reality.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_PyCBWgJU68%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_PyCBWgJU68&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_PyCBWgJU68%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7cd31dd3220fd52fe31158871c44fb6a/href">https://medium.com/media/7cd31dd3220fd52fe31158871c44fb6a/href</a></iframe><h3><strong>Games</strong></h3><p><strong>Virtual Reality(VR)</strong> has taken gaming to next level with VR headsets. But the fallback is that you would feel <em>uncomfortable</em> to wear, unlike eye glasses. Also, the VR enabled games now are more isolated from the real world. With AR, you would have everything to be played right in the real world. Sometimes you would break your gadgets in the event of killing the enemies in the game, fight with strangers for more points and steal the real car. <em>Remember Grand Theft Auto?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*Fr8BVawzh67F-uNR7Ua-Rw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*rPbOziRkJj3zOiLf64QqNw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*aEezfUNQ8TXCjbI5frMtMg.gif" /></figure><h3><strong>Experiments &amp; Prototyping</strong></h3><p>Enthusiastic in creating the prototype of your own car or your dream house? You will be doing it all in augments by arranging things with your hands and making it work in the virtual world. You can also bring your friends together in building it and see the way it works in real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*_vPpwud9tvo6ClOSJIdAew.gif" /><figcaption>Thanks to Microsoft Hololens</figcaption></figure><p><em>AR Prototyping tools will be available soon that allows you to </em><strong><em>sketch</em></strong><em> on air, create 3D models and even animate them.</em></p><h3>What’s more?</h3><p>It is very clear that AR has endless possibilities when it comes to improvising the life style of human race and making the world more virtually connected and most of all, you could get anything you want with the mere gesture of your hand. With improving research and accelerating developments in the field, the future seems to be happening and the time that this would become consumer centric is not so far.</p><p><em>If you find this article interesting, kiss❤️ and share with your friends.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b73bd50d524d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>