Welcome Guest, Not a member yet? Register   Sign In
Schema.org with Codeigniter?
#1

[eluser]scm22ri[/eluser]
Hi Everyone,

I'm attempting to add schema.org HTML markup language to the information I'm displaying on my website. For example, if I list a local business and want to tell all of the major search engines about the business I'm displaying on my website. How would I go about doing that?

Below is my schema.org markup. How would I do this using CI?
Thanks everyone!

Code:
<div itemscope itemtype="http://schema.org/AutoDealer">
        <tr>
   <td><strong><span itemprop="name">&lt;?=$dealership?&gt;</span></strong></td>
   <td><span itemprop="address">&lt;?=$address?&gt;</span></td>
   <td><span itemprop="addressRegion">&lt;?=$state?&gt;</span></td>
   <td><span itemprop="addressLocality">&lt;?=$city?&gt;</span></td>
   <td><span itemprop="postalCode">&lt;?=$zip?&gt;</span></td>
   <td><span itemprop="telephone">&lt;?=$phone?&gt;</span></td>
   <td><span itemprop="url"><a href="/dealers/dealerships.php?id=&lt;?=$id?&gt;">Click Here</a></span></td>
  </tr>
  </div>




Theme © iAndrew 2016 - Forum software by © MyBB