ecommerce website design Shropshire, Custom & Ecommerce Website Designers, Web Page Design Company Shropshire UK Site Map
Phone:01743 272 609 Fax: 0709 286 1166
Home page, website design service at Shrewsbury, Shropshire. We supply website design service to business in Shropshire and whole UKAbout spark computing, website design service at Shrewsbury, Shropshire. We supply website design service to business in Shropshire and whole UKExpertise and services from spark computing, website design service at Shrewsbury, Shropshire. We supply website design service to business in Shropshire and whole UKOffice automatic solutions, online business solutions supplied by Spark computing, shrewsbury, shropshirecontact spark computing, shrewsbury, shroshire to discuss online business websites, custom software development

Archives for: March 2010, 04

04/03/10

Permalink 05:41:00 pm, Categories: General IT articles  

HTML Signature for Gmail

Gmail does not support rich text signature. That means you can’t have link, colors, images or any formatting with the Gmail signature.

There are ways to get around it.

1. copy and paste
Make your signature in Word and copy it to gmail’s composer each time you want to send an email.

2. Chrome/Firefox extension.
http://blankcanvasweb.com/pages/id_9/n_gmail_signatures/
The extension allows you to save your signature in your browser.
But if you use another PC, you will not be able to have the signature coming up automatically because it is saved to the PC where you installed the extension.

Regards,


Tweet this! Facebook Live Yahoo bookmark Digg US google bookmark
Permalink 05:18:40 pm, Categories: General IT articles  

Generate RSS feeds for your website

RSS newsfeeds and product feeds provide a variety of opportunities for increasing traffic to your website. Publishing your own feed is a great way to cut through the clutter of email spam and get your message directly to your target market. Interested parties can subscribe your RSS channel using common Email clients like Outlook. There are also many RSS readers available for Iphones or other smart phones.

RSS slowly becomes one of the important online marketing / SEO tasks.

Provided you already have an online product catalogue. Here is simple PHP code to use to generate a RSS feed:

PHP:

<?php
function xmlentities($str)
{
    $xml array('&#34;','&#38;','&#38;','&#60;','&#62;','&#160;','&#161;','&#162;','&#163;','&#164;','&#165;','&#166;','&#167;','&#168;','&#169;','&#170;','&#171;','&#172;','&#173;','&#174;','&#175;','&#176;','&#177;','&#178;','&#179;','&#180;','&#181;','&#182;','&#183;','&#184;','&#185;','&#186;','&#187;','&#188;','&#189;','&#190;','&#191;','&#192;','&#193;','&#194;','&#195;','&#196;','&#197;','&#198;','&#199;','&#200;','&#201;','&#202;','&#203;','&#204;','&#205;','&#206;','&#207;','&#208;','&#209;','&#210;','&#211;','&#212;','&#213;','&#214;','&#215;','&#216;','&#217;','&#218;','&#219;','&#220;','&#221;','&#222;','&#223;','&#224;','&#225;','&#226;','&#227;','&#228;','&#229;','&#230;','&#231;','&#232;','&#233;','&#234;','&#235;','&#236;','&#237;','&#238;','&#239;','&#240;','&#241;','&#242;','&#243;','&#244;','&#245;','&#246;','&#247;','&#248;','&#249;','&#250;','&#251;','&#252;','&#253;','&#254;','&#255;');
    $html array('&quot;','&amp;','&amp;','&lt;','&gt;','&nbsp;','&iexcl;','&cent;','&pound;','&curren;','&yen;','&brvbar;','&sect;','&uml;','&copy;','&ordf;','&laquo;','&not;','&shy;','&reg;','&macr;','&deg;','&plusmn;','&sup2;','&sup3;','&acute;','&micro;','&para;','&middot;','&cedil;','&sup1;','&ordm;','&raquo;','&frac14;','&frac12;','&frac34;','&iquest;','&Agrave;','&Aacute;','&Acirc;','&Atilde;','&Auml;','&Aring;','&AElig;','&Ccedil;','&Egrave;','&Eacute;','&Ecirc;','&Euml;','&Igrave;','&Iacute;','&Icirc;','&Iuml;','&ETH;','&Ntilde;','&Ograve;','&Oacute;','&Ocirc;','&Otilde;','&Ouml;','&times;','&Oslash;','&Ugrave;','&Uacute;','&Ucirc;','&Uuml;','&Yacute;','&THORN;','&szlig;','&agrave;','&aacute;','&acirc;','&atilde;','&auml;','&aring;','&aelig;','&ccedil;','&egrave;','&eacute;','&ecirc;','&euml;','&igrave;','&iacute;','&icirc;','&iuml;','&eth;','&ntilde;','&ograve;','&oacute;','&ocirc;','&otilde;','&ouml;','&divide;','&oslash;','&ugrave;','&uacute;','&ucirc;','&uuml;','&yacute;','&thorn;','&yuml;');
 
    $str str_replace($html,$xml,$str);
    //$str = str_ireplace($html,$xml,$str);
    return $str;
}
 
 $pro DB_DataObject::factory('Product');
 $pro->find();
  $xml ='<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
                <title>Water Coolers from Wenlock Water coolers Ltd</title>
                                                <link>http://www.wenlockwatercoolers.co.uk/rss.php</link>
                                <description>Water Coolers supplier - Wenlock Water coolers, Shropshire UK. We sell and rent water coolers to Business, Education and home users all over the UK</description>
                                <language>en-GB</language>
                                <docs>http://backend.userland.com/rss</docs>
                                 ';
  while($pro->fetch())
  {
    $catName $categoryArray[$pro->category];
    $xml .= "<item>
        <title>"xmlentities(htmlentities(stripSlashes("$pro->name"))) . "</title>\n";
    $xml .= "<link>http://www.wenlockwatercoolers.co.uk/index.php?product_id=$product->id</link>";
    $xml .="<category domain='main'>"stripSlashes($categoryname_Name). "</category>";
    $xml .="<description>";
    $xml .= xmlentities(htmlentities(stripSlashes($pro->detail) ));
   $xml .="</description>
        <content:encoded>
        <![CDATA[
        <table>
        ";
       //display product feature an images here
 
      }//end of for
        $xml .='</table>
                <br/>';
 $xml .="]]></content:encoded>
                </item>
                ";
        //
 
 //end of while
 
 $xml .="</channel>
 </rss> ";
  header("Content-Type: application/xml; charset=utf-81");
 echo $xml;
?>

To test it, you can type in the URL to the php file in your IE to validate the XML.

You can use a RSS viewer to view the data of your deed:

http://www.netimechannel.com/OnlineRssViewer/


Tweet this! Facebook Live Yahoo bookmark Digg US google bookmark

March 2010
Mon Tue Wed Thu Fri Sat Sun
 << < Current> >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31      

Spark Website Design, Shropshire

Technical articles on IT solutions.

Free information on office and home IT solutions; How to get a website running for your business; self-help e-commerce; and tips on website design.

Search

Misc

XML Feeds

What is this?