Wednesday, October 30, 2013

iMacri tips

VERSION BUILD=7030862
SIZE X=1360 Y=768
TAB T=1
URL GOTO=http://www.lexisnexis.com/hottopics/lnacademic/?shr=t&sfi=AC00NBEasySrch
FRAME F=2
TAG POS=1 TYPE=A ATTR=TXT:Power<SP>Search
TAG POS=1 TYPE=TEXTAREA FORM=NAME:searchForm ATTR=ID:terms CONTENT=acorda<SP>Pharmaceuticals<SP>stock<SP>offering
TAG POS=1 TYPE=SELECT FORM=NAME:searchForm ATTR=ID:dateSelector1 CONTENT=%from
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:searchForm ATTR=ID:fromDate1 CONTENT=1/1/2000
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:searchForm ATTR=ID:toDate1 CONTENT=1/1/2010
DS CMD=LDOWN X=223 Y=413 CONTENT=
DS CMD=LUP X=223 Y=413 CONTENT=
DS CMD=KEY X=223 Y=413 CONTENT=business<SP>wire
WAIT SECONDS=2
DS CMD=LDOWN X=223 Y=431 CONTENT=
DS CMD=LUP X=223 Y=431 CONTENT=
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:searchForm ATTR=VALUE:Search

Friday, October 18, 2013

Parse error: syntax error, unexpected T_VARIABLE in \ /usr/local/apache/htdocs/stat/config.inc.php on line 25

Error:
Parse error: syntax error, unexpected T_VARIABLE in  \
/usr/local/apache/htdocs/stat/config.inc.php on line 25


Solution:

put a ";" at the end of hostfile var

A basic template for website Search Engine Optimisation

Here are some basic tips on optimising your site for Google and other search engines.

Use keywords:

  • in your META keywords (128 characters max)

  • in your META description (keep keyword close to the left but in a fill sentence).

  • in the page title at the far left but possibly not as the first word

  • in the first portion of the page (first sentence of the first full paragraph)

  • in an H3 or larger tag heading

  • in bold in the lower half of the page (anywhere but the first usage on page)

  • in italic in the lower half of the page (anywhere but the first usage on page)

  • in the URL (directory name, filename or domain name). Do not duplicate the keyword in the URL

  • in an image filename useed on the page

  • in image ALT attribute

  • in image TITLE attribute

  • in link TITLE attribute

  • in the filename of your external CSS javascript files

  • in a link to a site that has a PageRank of 8 or better




Other optimisation tips:

  • Use "last modified" headers if you can

  • Validate your HTML. Google's parser will miss parts of web pages if they contain simple HTML errors

  • Wherever possible keep the page as .html or .htm extension

  • Keep the HTML below 20K. 5-15K is the ideal range

  • Keep the ratio of text to HTML very high. Text should outweight HTML by significant amounts