Are there any plans on introducing schema.org/structured data into Pulse, as Google seems to give a lot of love and importance lately? I am interested especially for local smb’s sites that need to localize and show their contact data(Name, Address, Phone) to Google.
Great idea Dan!
It was thought of yes… I like this.
In the meantime, add this to the template.php file until this can be added in the admin side
Thanks for the idea
I’ve tended to do this sort of thing in the template rather than through Pulse as I suspect the client’s business isn’t going to be moving about much. It also means the client can’t mess things up!
If you were building a listings site in Pulse then this would certainly need to go in the editor.
<!-- schema --> <div itemscope itemtype="http://schema.org/LocalBusiness"> <a itemprop="url" href="http://www.nevllfixit.co.uk"><div itemprop="name"><strong>Nev'll Fix It</strong></div></a> <div itemprop="description">Fast, friendly and reliable Nev'll Fix It is a family-owned and run garage servicing Tunbridge and the surrounding areas of Kent. We do all sorts of car diagnostics and repair plus MOTs, exhausts and tyres.</div> <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> <span itemprop="streetAddress">12A Sovereign Way</span><br> <span itemprop="addressLocality">Tonbridge</span><br> <span itemprop="postalCode">TN9 1RS</span><br> <span itemprop="addressCountry">United Kingdom</span><br> </div> </div> <!-- schema end -->
What I think Pulse needs is a template system for the editor so you can set up an Edit Address template that offers the user fields for the business name, street address, postcode etc which then get wrapped in the correct structure when embedded into the page. You could get half way there with a Pulse plug-in to do this for you but the client would need to remember the shortcode format and attributes.
This topic was automatically closed after 12 hours. New replies are no longer allowed.