<?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[The Code Corner]]></title><description><![CDATA[Software Engineer | Java | Python | WebDev (MERN Stack) | Twilio Field Operator | #100Devs | Check out my Twitter for the full #365DaysOfCode Journey]]></description><link>https://abhigyan.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Tue, 20 Oct 2026 08:27:43 GMT</lastBuildDate><atom:link href="https://abhigyan.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Make React visible to Search Engine Crawlers]]></title><description><![CDATA[Get Google to Crawl Your React Site Faster]]></description><link>https://abhigyan.hashnode.dev/make-react-visible-to-search-engine-crawlers</link><guid isPermaLink="true">https://abhigyan.hashnode.dev/make-react-visible-to-search-engine-crawlers</guid><category><![CDATA[React]]></category><category><![CDATA[Next.js]]></category><category><![CDATA[Frontend Development]]></category><category><![CDATA[frontend]]></category><dc:creator><![CDATA[ABHIGYAN MOHANTA]]></dc:creator><pubDate>Sat, 24 Jun 2023 10:37:37 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/2FPjlAyMQTA/upload/287e4f46a7d97793bdd1f859114dddde.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>When using React for client-side rendering (CSR), the initial HTML response sent by the server is usually empty or minimal, as the content is dynamically rendered by React on the client-side. This can make it challenging for search engine crawlers to understand and index the content of your website. However, there are a few techniques you can use to make your React application more visible to search engines:</p>
<ol>
<li><p>Server-Side Rendering (SSR): One of the most effective ways to make your React application visible to search engines is to implement server-side rendering. SSR allows your React components to be rendered on the server before being sent to the client. This way, the search engine crawlers can receive fully rendered HTML content that is immediately indexable. You can use frameworks like Next.js or Gatsby.js, which provide built-in support for server-side rendering.</p>
</li>
<li><p>Pre-rendering: If full SSR is not an option for your project, you can consider pre-rendering. Pre-rendering involves generating static HTML files for each page of your React application during the build process. These static HTML files can be served to search engine crawlers, providing them with indexable content. Tools like React Snap or <a target="_blank" href="http://prerender.io">prerender.io</a> can help with pre-rendering your React application.</p>
</li>
<li><p>Dynamic Rendering: Another approach is to implement dynamic rendering, which serves different versions of your website to search engine crawlers and regular users. When a search engine crawler requests a page, the server delivers a pre-rendered or server-side rendered version of the page. For regular users, the client-side rendered version is served. This approach requires detecting and identifying crawler requests to serve the appropriate version of the page. Tools like <a target="_blank" href="http://Prerender.io">Prerender.io</a> or Rendertron can assist with dynamic rendering.</p>
</li>
<li><p>SEO Metadata: Ensure that you include relevant metadata, such as title tags, meta descriptions, and Open Graph tags, in the initial HTML response. This metadata provides information about your website to search engine crawlers and social media platforms, improving the visibility of your content.</p>
</li>
<li><p>Sitemap: Create a sitemap.xml file that lists all the pages of your website. Include the sitemap in your website's robots.txt file, which helps search engines discover and index your pages more efficiently.</p>
</li>
<li><p>Use React Helmet or similar libraries: React Helmet allows you to dynamically update the metadata of your React application based on the rendered components. You can use it to set title tags, meta descriptions, and other SEO-related information on a per-page basis.</p>
</li>
</ol>
<p>Remember to monitor and test the visibility of your React application using tools like Google Search Console or Bing Webmaster Tools. These tools can provide insights into how search engines are indexing and crawling your website, allowing you to make any necessary adjustments.</p>
]]></content:encoded></item><item><title><![CDATA[How to Make a JAR File an Executable Application in Ubuntu]]></title><description><![CDATA[If you are a Java developer, you might have created a JAR file that you want to distribute as an executable application. In Ubuntu, you can easily make a…]]></description><link>https://abhigyan.hashnode.dev/how-to-make-a-jar-file-an-executable-application-in-ubuntu</link><guid isPermaLink="true">https://abhigyan.hashnode.dev/how-to-make-a-jar-file-an-executable-application-in-ubuntu</guid><category><![CDATA[Ubuntu]]></category><category><![CDATA[Java]]></category><category><![CDATA[desktop apps]]></category><category><![CDATA[linux for beginners]]></category><category><![CDATA[WeMakeDevs]]></category><dc:creator><![CDATA[ABHIGYAN MOHANTA]]></dc:creator><pubDate>Sat, 08 Apr 2023 04:41:41 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/95YRwf6CNw8/upload/6e42f6f6d28676ad5cd63c2f8d7b10b6.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you are a Java developer, you might have created a JAR file that you want to distribute as an executable application. In Ubuntu, you can easily make a JAR file an executable application by creating a desktop launcher file for it. In this blog post, I will guide you through the steps to make a JAR file an executable application in Ubuntu.</p>
<p>Step 1: Open the Terminal Open the terminal on Ubuntu by pressing Ctrl+Alt+T.</p>
<p>Step 2: Navigate to the Directory Navigate to the directory where your JAR file is located using the cd command. For example, if your JAR file is located in the Downloads directory, you can navigate to it by typing the following command:</p>
<pre><code class="lang-bash"><span class="hljs-built_in">cd</span> ~/Downloads/
</code></pre>
<p>Step 3: Set Executable Permission Set the executable permission for the JAR file using the following command:</p>
<pre><code class="lang-bash">chmod +x your_jar_file.jar
</code></pre>
<p>This command gives executable permission to the JAR file.</p>
<p>Step 4: Create a Desktop Launcher Create a desktop launcher for your application by creating a new file in the ~/.local/share/applications/ directory with the .desktop extension. For example, you can use the following command to create a new file named myapp.desktop:</p>
<pre><code class="lang-bash">nano ~/.<span class="hljs-built_in">local</span>/share/applications/myapp.desktop
</code></pre>
<p>In the editor, add the following lines:</p>
<pre><code class="lang-bash">[Desktop Entry]
Type=Application
Name=My Application
Exec=/usr/bin/java -jar /path/to/your_jar_file.jar
Icon=/path/to/your_icon_file.png
</code></pre>
<p>Here, replace "My Application" with the name of your application, "/path/to/your_jar_file.jar" with the actual path to your JAR file, and "/path/to/your_icon_file.png" with the actual path to your application icon file.</p>
<p>Step 5: Save the File and Close the Editor Save the file and close the editor by pressing Ctrl+X, Y, and Enter.</p>
<p>Step 6: Make the Launcher Executable Make the launcher executable using the following command:</p>
<pre><code class="lang-bash">chmod +x ~/.<span class="hljs-built_in">local</span>/share/applications/myapp.desktop
</code></pre>
<p>This command gives executable permission to the launcher file.</p>
<p>Step 7: Launch the Application You should now be able to find your application in the Ubuntu Dash or Application menu. Click on it to launch the application.</p>
<p>Conclusion In this blog post, you learned how to make a JAR file an executable application in Ubuntu by creating a desktop launcher file for it. This allows you to distribute your Java application as an executable file, making it easy for users to launch it without opening a terminal.</p>
]]></content:encoded></item></channel></rss>