Last.FM Component Generated HTML: Difference between revisions


mNo edit summary
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
====Lastfm top artists component dynamically generated html:====
====Lastfm top artists component dynamically generated html:====
<br>
<source lang="html4strict">
<source lang="html4strict">
<pre>
 
   <div class="component lastfm_component">
   <div class="component lastfm_component">
     <h2>Title goes here</h2>
     <h2>Title goes here</h2>
Line 23: Line 25:
             <span class="lastfm_artist"></span>
             <span class="lastfm_artist"></span>
             <span class="lastfm_playcount"></span>
             <span class="lastfm_playcount"></span>
           </div>[[Category:Components]]
           </div>
         </div>
         </div>
       </div>
       </div>
     </div>
     </div>
   </div>   
   </div>   
</pre>
 
</source>
</source>
When a user adds a lastfm component to their Viviti site with the top artists option selected, this is the html that is dynamically generated.




<hr>
When a user adds a [[Lastfm | Last.fm component]] to their site with the top artists option selected, this is the html that is dynamically generated.




<hr>
====Lastfm top tracks component dynamically generated html:====
====Lastfm top tracks component dynamically generated html:====
<source lang="html4strict">
<source lang="html4strict">
<pre>
 
   <div class="component lastfm_component">
   <div class="component lastfm_component">
     <h2>Title goes here</h2>
     <h2>Title goes here</h2>
Line 57: Line 59:
     </div>
     </div>
   </div>   
   </div>   
</pre>
 
</source>
</source>
When a user adds a lastfm component to their Viviti site with the top tracks option selected, this is the html that is dynamically generated.
 
 
When a user adds a [[Lastfm | Last.fm component]] to their site with the top tracks option selected, this is the html that is dynamically generated.


[[Category:Dynamically Generated HTML]]
[[Category:Dynamically Generated HTML]]

Latest revision as of 09:34, 12 October 2010

Lastfm top artists component dynamically generated html:


   <div class="component lastfm_component">
     <h2>Title goes here</h2>
     <div class="component_content">
       <div class="top_artists">
         <div class="first even item_0 lastfm_entry artist">
           <span class="lastfm_image">
             <img width="48" height="48" src=""/>
           </span>
           <div class="lastfm_metadata">
             <span class="lastfm_artist"></span>
             <span class="lastfm_playcount"></span>
           </div>
         </div>

         <div class="last odd item_1 lastfm_entry artist">
           <span class="lastfm_image">
             <img width="48" height="48" src=""/>
           </span>
           <div class="lastfm_metadata">
             <span class="lastfm_artist"></span>
             <span class="lastfm_playcount"></span>
           </div>
        </div>
      </div>
    </div>
  </div>


When a user adds a Last.fm component to their site with the top artists option selected, this is the html that is dynamically generated.



Lastfm top tracks component dynamically generated html:

   <div class="component lastfm_component">
     <h2>Title goes here</h2>
     <div class="component_content">
       <div class="top_tracks">
         <div class="first even item_0 lastfm_entry song">
           <span class="lastfm_track_name"></span>
           <span class="lastfm_artist"></span>
           <span class="lastfm_playcount"></span>
         </div>

         <div class="last odd item_1 lastfm_entry song">
           <span class="lastfm_track_name"></span>           
           <span class="lastfm_artist"></span>
           <span class="lastfm_playcount"></span>
        </div>
      </div>
    </div>
  </div>


When a user adds a Last.fm component to their site with the top tracks option selected, this is the html that is dynamically generated.