<?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: Indian Train</title>
    <description>The latest articles on DEV Community by Indian Train (@indiantrain).</description>
    <link>https://dev.to/indiantrain</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%2F745575%2Fabaf80cc-0e2f-431d-9683-684eb4579b52.png</url>
      <title>DEV Community: Indian Train</title>
      <link>https://dev.to/indiantrain</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/indiantrain"/>
    <language>en</language>
    <item>
      <title>IISNode Shows an Error When Opening a Particular Page on My Website</title>
      <dc:creator>Indian Train</dc:creator>
      <pubDate>Thu, 08 Sep 2022 14:10:24 +0000</pubDate>
      <link>https://dev.to/indiantrain/iisnode-shows-an-error-when-opening-a-particular-page-on-my-website-ogo</link>
      <guid>https://dev.to/indiantrain/iisnode-shows-an-error-when-opening-a-particular-page-on-my-website-ogo</guid>
      <description>&lt;p&gt;My website is built with angular 9 and hosted on windows server. This technology is new to me as previously I was on PHP. So, facing many challenges and issues. Recently, while browsing my site I came across a webpage named “&lt;a href="https://www.indiantrain.in/flight-pnr-status"&gt;airlines PNR status&lt;/a&gt;” of my site which shows error but no other webpage shows the error. I think this page is heavy and too much time to respond that’s why showing the error. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Angular - Webpage redirect to homepage when opening external URL</title>
      <dc:creator>Indian Train</dc:creator>
      <pubDate>Wed, 17 Aug 2022 13:12:00 +0000</pubDate>
      <link>https://dev.to/indiantrain/angular-webpage-redirect-to-homepage-when-opening-external-url-4iij</link>
      <guid>https://dev.to/indiantrain/angular-webpage-redirect-to-homepage-when-opening-external-url-4iij</guid>
      <description>&lt;p&gt;Whenever I open an external URL from my webpage, this webpage redirect to homepage. The external URL gets open in new tab but the webpage from which I am opening the external URL it redirect to homepage. I don't know why this is happening I tried all the possible but couldn't get rid of it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;xyz.html

&amp;lt;a (click)="goToLink('https://www.example.com/abc')"&amp;gt;page link&amp;lt;/a&amp;gt;

xyz.ts

goToLink(url: string) {
  window.open(url, "_blank");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>angular</category>
    </item>
    <item>
      <title>How to add Google Adsense code in angular 9 application?</title>
      <dc:creator>Indian Train</dc:creator>
      <pubDate>Fri, 05 Nov 2021 14:30:10 +0000</pubDate>
      <link>https://dev.to/indiantrain/how-to-add-google-adsense-code-in-angular-9-application-3gjh</link>
      <guid>https://dev.to/indiantrain/how-to-add-google-adsense-code-in-angular-9-application-3gjh</guid>
      <description>&lt;p&gt;I have added Google Adsense to my angular site. It shows ads on some pages and doesn't on some pages. I will show the example of pages which doesn't shows ads, suppose we go to this page "&lt;a href="https://www.indiantrain.in/train-time-table"&gt;https://www.indiantrain.in/train-time-table&lt;/a&gt;", in the search box we have filled the train number and hit get schedule button. It will redirect to other page. Almost all the features of my site is in this manner only. I think angular block the Adsense script and that's why it doesn't load all the time. As we already know, outside script need to sanitize in order to run in angular. So, I just want to know the proper way to add Google Adsense to my site. &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>angular</category>
    </item>
  </channel>
</rss>
