Add Translation to your blog
EasyExpat
18 March, 2006 16:25
How to make foreign visitors love your website even if they don't
understand your language ? Add Language Translation to your blogs.
This is a simple Step by step guide to provide instant language
translation in your blog. Your site visitors can translate any webpage
by clicking on the corresponding country flag and read your website in
their native language.
Machine translation in blogs or websites is probably the easiest way
of helping readers from different countries communicate. Even if a
blogger writes in Spanish and a reader speaks English, or vice versa,
both of them can still understand each other.
Today, people are blogging in multiple languages to create a
conversation with readers outside the English Speaking blogosphere.
Free language translation tools let bloggers post messages
simultaneously in English, German, French, Spanish and other languages. (More)
How to post a podcast
EasyExpat
02 March, 2006 02:59
Podcast - or videocast - are the two new great features in the blog area. The first one allows to put some audio file on your blog (as we did here) and the second one is showing videos on blogs (using for example vpod.tv).
But how to post a podcast on your BlogExpat ?
1) upload the mp3 file via the resource center
2) create a new post
3) type the contents of the post and include a link to your mp3 file. Please use the "add resource" link.
4) Now the podcast is ready. Take a look at the RSS 2.0 feed for your blog and you'll see an <enclosure ...> tag pointing to your mp3 file. (More)
How to reference your blog
EasyExpat
04 November, 2005 00:40
You like to publish articles on your blog... but you like also people to read them. Therefore you will probably look for enhancing your position in search engines, so people can browse your blog. (More)
How to reduce the size of photos
EasyExpat
02 September, 2005 01:43
When you want to put photos on the Internet you may have a problem due to the size of the document. If you took high quality pictures, sizes might be greater than 500K, even greater than 1M sometime. It's good to have such quality for your record but you do not need to display them like that on the Internet. They are heavy to download, take a lot of space and sometime the software might also refuse to download them. (More)
How to show the user picture
EasyExpat
01 August, 2005 20:07
It is possible for users to select a picture to represent them, as some kind of "avatar". The picture must be selected from the list of pictures currently available in the "resource center".
(More)
How to add a tag to count visitors (example with Xiti)
EasyExpat
01 August, 2005 19:43
In order to add a tag provided by Xiti (or any other javascript tool providing stats), you can just implement the code in between {literal}...{/literal} (smarty code to allow javascript), such as:
==================
<tr><td>
<p align="center">
<!-- Xiti -->
{literal}
<script language="JavaScript1.1">
<!--
hsh = new Date();
hsd = document;
hsi = '<a href="http://www.xiti.com/xiti.asp?s=99999"'
hsi += ' TARGET="_top"><img width="39" height="25" border=0 '
hsi += 'src="http://logv19.xiti.com/hit.xiti?s=99999'
hsi += '&p=&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xiti_s=screen;hsi += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;}
hsd.writeln(hsi + '&ref=' + hsd.referrer.replace('&', '$') + '"></a>');
//-->
</script>
<noscript>
<a href="http://www.xiti.com/xiti.asp?s=99999" TARGET="_blank"><img width="39" height="25" border="0" src="http://logv19.xiti.com/hit.xiti?s=99999&p=&"></a>
</noscript>
{/literal}
<!-- end Xiti -->
</p>
</td></tr>
================== (More)
How to add an image in the title bar
EasyExpat
01 August, 2005 19:35
In some templates customized by easyexpat (std_2col, std_rightcol, std_leftcol... etc) you just need to replace the file title.jpg (format 775x90) by an image to have it on the title bar.
Download and upload the new customized template with your image.
If you are looking for more help on EasyExpat's blogs, do not forget that we have a dedicated forum.
How to write smarty code and modify the templates
EasyExpat
01 August, 2005 19:20
A good starting point to learn about Smarty is their crash-course: http://smarty.php.net/crashcourse.php Or if you want more details, a very nice manual is also available: http://smarty.php.net/manual/en/
We give you an example of the template code, in header.template of the easyexpat template:
=============
<tr><td
class="orange">{$locale->tr("recently"
}</td></tr>
{foreach from=$recentposts item=recentpost}
<tr class="{cycle values="odd,even"}"><td><a
title="{$recentpost->getText()|truncate:150:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a><br/>
{/foreach}</td></tr>
=============
Here we display all the recent posts. We use truncate to put only the begining of the post. You could also use capitalize to make upper case. You can use plenty of other variables, the list is here.
You can also sort differently the arrays (list of post, messages...) inside the templates by using the method described here: Sorting arrays inside templates.
If you are looking for more help on EasyExpat's blogs, do not forget that we have a dedicated forum.
Template Packages
EasyExpat
01 August, 2005 19:19
In order to make the handling of templates easier, templates can be
managed from within the administration interface. Templates can also be
uploaded as packages with a special format since uploading all the
files that make up a template, one by one, would be a too cumbersome
process. (More)
How to modify your template
EasyExpat
01 August, 2005 18:33
In order to offer a blog service, EasyExpat has chosen pLog.
pLog uses a template system in order to clearly separate what is
content from what is the core code. Users can develop their own
templates and the
template rendering engine uses a simple syntax to change the aspect of
their site a little : Smarty.
A good starting point to learn about Smarty is their crash-course: http://smarty.php.net/crashcourse.php Or if you want more details, a very nice manual is also available: http://smarty.php.net/manual/en/
How templates work
As we said above, pLog uses Smarty to render the contents of your
journal. That means that you can easily change the way the site looks
like just by going to the Administration Interface of your journal (http://<yourname>.blogexpat.com/admin.php) and
selecting a new set of templates [Control Center->Blog to choose the template amongs a list). But, how does that work? How can we
develop our own set of templates?
(More)