HTML5 has a little-known attribute called download. The download attribute is often used in conjunction with the link or the <a> tag. Check the correct markup for the link tag below. Clicking on a HTML link will typically result in the browser opening up a new page, image, or a document.
In some cases, depending on your browser settings, clicking on a link will download a document, file or an image. For consistency, we can alter the behavior of the link tag by adding the download attribute. Let’s say, we want our readers to download an image, pdf, or a web page. We simply add the download attribute in the link tag.
A typical link looks like this:
A link with the download tag would look something like this:
<a href="random-xxx.jpg" download="test.jpg">link</a>
By adding a filename in the download tag, we are specifying that we want the downloaded file to be renamed to test.png. The download attribute is currently supported on Chrome and Firefox. Safari and IE have not adapted it yet. Click on the Sample link below to see the download tag in action.
RSS or Really Simple Syndication enable publishers to syndicate their data automatically. Readers can subscribe to the feed and content will be delivered automatically. Most websites, news feeds, blogs, forums, etc. nowadays run some kind of content management system or CMS. And most CMS, if not all, have built-in RSS feed generators.
But, why is it so hard to find the RSS feed for some websites? Why do readers have to go for a bunny hunt each time, just to find the RSS feed. If it’s not on the top of the page, it must be at the bottom. If it’s not on the front page, then clearly, it must be somewhere else on the site. Maybe, it’s searchable on the website. Well, try again. In some instances, there is no RSS at all. What a shame at this day and age.
If you do find it, will it work at all? You’ll be surprise, some RSS feeds don’t work at all. I’m not sure why publishers can’t adhere to the standard RSS format of either RSS 2.0 or Atom 1.0. Clearly, there must be a way to simplify the entire RSS hunt process. Maybe, modern browsers like Chrome, Firefox, Safari and IE can help out a bit in locating the RSS feeds of each website.
Browsers should be able to direct users to the RSS feed of each website, and make them accessible to minimize the hunt. There are several browser plugins or extensions that simplify the process. I use RSS Feed Reader for Chrome. Acquiring feeds for each website is not always automatic. I still have to type the domain, but it does simplify the process a bit.
Clearly, there has to be a better way. I hope Chrome, Firefox, or other browsers can help out.