By

Data Attributes

How to customize the SubToMe button to fit your needs!

Last week, I met Chris and we had a great discussion on how to improve SubToMe by supporting data-* attributes on the buttons. This is an HTML5 spec which enables developers to embed data along with its related DOM element. This is exactly how SubtoMe should be designed as per Chris comments.

Using different feeds for multiple buttons has been a pretty common feature request. No later than last week, LLoyd asked for it. Even though it is possible without the data attributes, it involves a lot more Javascript and is significantly less elegant.

Now, each SubToMe button can be configured to specify what are the resources being susbcribed to, as well as the feeds. The button can also be used to include a recommended tool for the subscription.

Check the publisher documentation if you want to see how this can be setup for your buttons very easily!

Want to learn more about SubToMe in the future? Follow using your favorite feed reader.

Written by
Co-founder, Superfeedr.