Forums / Templates, Stylesheets, Page Layout / how to find the source files to edit html??

how to find the source files to edit html??

Locked

Views: 1,341

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Feb 2009, 11:39 AM
#1
market_visit avatar

market_visit

New Zenner

Join Date:
Nov 2008
Posts:
24
Plugin Contributions:
0

how to find the source files to edit html??

Hi

I’m trying add video tags for the Google sitemap which I know helps greatly for ranking.

Can someone advise how to I find the source of all video pages in order to add these video tags?

Google explain how to do it here:
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=80472#2

Thanks,
Yuval

18 Feb 2009, 1:57 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: how to find the source files to edit html??

As the reply to your other post on the same subject said, we'll need to see a link to your site to answer this. There are no 'video pages' in a stock Zencart installation.

18 Feb 2009, 2:55 PM
#3
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: how to find the source files to edit html??

market visit:

Hi

I’m trying add video tags for the Google sitemap which I know helps greatly for ranking.

Can someone advise how to I find the source of all video pages in order to add these video tags?

Google explain how to do it here:
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=80472#2

Thanks,
Yuval

You have asked the same question in another thread. Please don't double-post.

Please understand that creating sitemaps has nothing to do with editing core files. (Besides, there is no HTML to edit.)

A Google sitemap is usually an XML file that sits in your website root directory. The video sitemap for google will follow the sitemap schema, as described at google.

If you have embedded video files in your product descriptions, you must determine the PATH to those products. Call up a product in your browser and look at the path in the browser address bar. It may look something like:

http://www.yourwebsite.com/index.php?main_page=product_info&cPath=170_172&products_id=1949

And let's say that the FOUR ACTUAL video files are called product1.swf
product2.swf
product3.swf
product4.swf
and are located at:

http://www.yourwebsite.com/videofiles/

So, in your xml for your video sitemap, you will have the following:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="gss.xsl"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url> 
  <loc>http://www.yourwebsite.com/index.php?main_page=product_info&cPath=170_172&products_id=1949</loc>
    <video:video>     
      <video:content_loc>http://www.yourwebsite.com/videofiles/product1.swf</video:content_loc>
      <video:thumbnail_loc>http://www.yourwebsite.com/images/thumbs/product1.jpg</video:thumbnail_loc>
      <video:title>YOUR TITLE HERE</video:title>  
      <video:description>YOUR DESCRIPTION HERE</video:description>
      <video:rating>4.2</video:rating>
      <video:view_count>12345</video:view_count>
      <video:publication_date>2007-11-05T19:20:30+08:00.</video:publication_date>
      <video:tag>YOUR TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:category>YOUR CATEGORY</video:category>
      <video:family_friendly>yes</video:family_friendly>
      <video:duration>YOUR VIDEO DURATION</video:duration>
    </video:video>
</url>
<url> 
  <loc>http://www.yourwebsite.com/index.php?main_page=product_info&cPath=170_172&products_id=1949</loc>
    <video:video>     
      <video:content_loc>http://www.yourwebsite.com/videofiles/product2.swf</video:content_loc>
      <video:thumbnail_loc>http://www.yourwebsite.com/images/thumbs/product2.jpg</video:thumbnail_loc>
      <video:title>YOUR TITLE HERE</video:title>  
      <video:description>YOUR DESCRIPTION HERE</video:description>
      <video:rating>4.2</video:rating>
      <video:view_count>12345</video:view_count>
      <video:publication_date>2007-11-05T19:20:30+08:00.</video:publication_date>
      <video:tag>YOUR TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:category>YOUR CATEGORY</video:category>
      <video:family_friendly>yes</video:family_friendly>
      <video:duration>YOUR VIDEO DURATION</video:duration>
    </video:video>
</url>
<url> 
  <loc>http://www.yourwebsite.com/index.php?main_page=product_info&cPath=170_172&products_id=1949</loc>
    <video:video>     
      <video:content_loc>http://www.yourwebsite.com/videofiles/product3.swf</video:content_loc>
      <video:thumbnail_loc>http://www.yourwebsite.com/images/thumbs/product3.jpg</video:thumbnail_loc>
      <video:title>YOUR TITLE HERE</video:title>  
      <video:description>YOUR DESCRIPTION HERE</video:description>
      <video:rating>4.2</video:rating>
      <video:view_count>12345</video:view_count>
      <video:publication_date>2007-11-05T19:20:30+08:00.</video:publication_date>
      <video:tag>YOUR TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:category>YOUR CATEGORY</video:category>
      <video:family_friendly>yes</video:family_friendly>
      <video:duration>YOUR VIDEO DURATION</video:duration>
    </video:video>
</url>
<url> 
  <loc>http://www.yourwebsite.com/index.php?main_page=product_info&cPath=170_172&products_id=1949</loc>
    <video:video>     
      <video:content_loc>http://www.yourwebsite.com/videofiles/product4.swf</video:content_loc>
      <video:thumbnail_loc>http://www.yourwebsite.com/images/thumbs/product4.jpg</video:thumbnail_loc>
      <video:title>YOUR TITLE HERE</video:title>  
      <video:description>YOUR DESCRIPTION HERE</video:description>
      <video:rating>4.2</video:rating>
      <video:view_count>12345</video:view_count>
      <video:publication_date>2007-11-05T19:20:30+08:00.</video:publication_date>
      <video:tag>YOUR TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:tag>ANOTHER TAG</video:tag>
      <video:category>YOUR CATEGORY</video:category>
      <video:family_friendly>yes</video:family_friendly>
      <video:duration>YOUR VIDEO DURATION</video:duration>
    </video:video>
</url>
</urlset>

You could save this file as sitemapvideo.xml and then put it on your server, then tell Google (webmaster tools) where to find it.

PLEASE SEE:

http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=80472


19 Feb 2009, 12:28 AM
#4
market_visit avatar

market_visit

New Zenner

Join Date:
Nov 2008
Posts:
24
Plugin Contributions:
0

Re: how to find the source files to edit html??

thanks allot for your help.