Archive for the ‘General’ Category

How to link to your Facebook profile: public profile link and NOT public profile link

Saturday, November 17th, 2007

Slowly Facebook has disabled direct links to profiles. Originally you could link to

http://www.facebook.com/profile.php?id=000000000.

All you had to do was copy and paste the URL from your address bar while you were logged into Facebook and you were good to go!

But the Facebookers disabled that.

If you want to keep all your information private, but want to post a link to add you as a friend, now you can do a search and limit it by id number:

http://www.facebook.com/s.php?k=100000080&id=000000000

To view the above link, you still have to login. If you don’t want users to have to log in and don’t mind submitting your profile to search engines, now you can create a public profile and link to it

http://www.facebook.com/p/First_Middle_LastName/000000000

I could not find anywhere that would list how to make this URL. I looked around and had to try the schema by example. It is as listed above with your profile id attached to the end instead of the “000000000″

Thirteen Ways To Add SEO To Gallery2

Monday, November 5th, 2007

Overview of Search Engine Optimization for Gallery2

I hope this is a starting point for those that want to make Gallery2 more SEO. Please remember that the SEO doesn’t make you show up higher in search listings, but makes it easier for this to happen. Having other people link to your pages is always the best thing you can do (at least for Google). Any additions to this list would be helpful. If you have questions or would like clarification, please ask.

Technical Background on Gallery2

Some of the suggestions on this list involve editing template and class files, do this at your own risk. Gallery2 administrators recommend copying the file you are editing to the subdirectory called “local” and editing the file there. Gallery2 will then use that file instead of the original. This also means that upgrades will not overwrite your edited file. In the examples below, I am using Gallery 2.2.3.

1. Activate URL Rewrite plugin

Read through the URL Rewrite Administration page and familiarize yourself with the structure of Gallery2, you’ll notice that the permalink of a photo is based on the filename.

2. Make items in keyword and other dynamic albums point to item’s permalink

ll links that can, should point to an item’s permalink–after all that is the valuable content–all else is for the user’s convenience and experience. This will eliminate some duplicate content and use the keyword album’s PageRank to point to the item’s permalink.

  • On the Site Admin page, go to Keyword Album (and/or Dynamic Albums)
  • Change Thumbnail links in dynamic albums to Jump to original album, and click Global checkbox if possible.

3. Use keywords in filenames

ince the permalink of an item is based on the filename, the filename of the item affect the keywords contained within the URL. Do not use the file name that a camera gives each photograph, but name your photos using keywords. You can do this manually, or you can use a bulk file renaming tool.

I recommend you use a bulk file renaming tool. On Windows, I use the free Bulk Rename Utility. It allows all sorts of file naming options including regular expressions, recursive file renaming of files in subdirectories, add suffixes, add prefixes and many, many more. It’s a little overwhelming when you first load the program. Thankfully, you can see the actual before/after of the file names, so you don’t have to guess at what you are doing. If anyone know of an OS-X bulk renaming tool, please contact me.

My naming convention for a file name is photo_set-photo_subset-people_or_objects. For a photo of my parents, my bride and myself at my wedding, I used wedding-party-rachel-stephen-richard-mary-james.jpg

4. Create keyword-dense titles and keywords for each item

aving tags or keywords link similar items not only provides users of your site to easily visit similar items, but it also links the keywords with your content for SEO.

Upon wanting to post over five hundred photographs of my honeymoon in Ireland to my Gallery2, I decided to write an automated PHP script that goes through the database and does the following:

  • Reads in the file name
  • Replaces the hyphens and/or underscores with spaces
  • Removes Windows and OS-X renaming suffixes/prefixes such as numerals, parenthesizes and the word “copy.”
  • Then, places this text in the item title field

After creating the title, I re-run the php script that then adds keywords. It does the following:

  • Reads in the file name
  • Replaces the hyphens and/or underscores with a comma and a space
  • Removes Windows and OS-X renaming suffixes/prefixes such as numerals, parenthesizes and the word “copy.”
  • Removes common words such as the, of, to , with, on, through, in and single letters (A-Z)
  • Then, places this text in the item keyword field

Now you can do all this manually and probably get better results by fine-tuning each item’s keywords and title, but in this instance, I did not want to enter thousands of keywords and possibly misspell them.

If you would like a copy of this script, I can email it to you. Please contact me. You will need to directly edit a PHP file, but I believe it is straight forward enough. It has no warranty for anything it does to your system. Before using it, backup your database. After the script has run, the database cache will need to deleted at Site Admin >> Maintenance >> Delete database cache

5. Optimize robots.txt

Some say to disallow search engines from listing keyword or tag pages by using disallow within one’s robots.txt. The theory behind this is that search engines do not actually stop looking at the pages listed after a disallow command. Disallow is there to prevent good search engines from listing disallowed pages in their search results. They DO read and evaluate disallowed pages for content. So the theory is that when a user searches for a keyword, the keyword page will not show up in the search results, but the actual content pages that the keyword pages link to will show up. This only works with search engines that value linking over keyword density. Since there is usually not much text on an item page, disallowing keyword filled dynamic albums might have negative effects. I suggest you research optimizing your robots.txt more, before disallowing hundreds of pages from search engine results.

6. Remove slideshows

I would say that this is the least important item on this list, but you want to be sure to remove as much duplicate content as possible, then to remove the slideshow:

  • Goto Plugins on the Site Admin page.
  • Deactivate Slideshow and Slideshow Applet

7. Remove multiple sizes

I’ve never had multiple sizes setup in my Gallery, if someone has the directions on how to deactivate this. It would be helpful.

8. Enable Google Sitemap

Sitemaps are an XML document that lists all content pages. When your site changes, it changes. Just like it says, it is a map. It doesn’t automatically get you a higher SEO, it only give the search engine a map to browse your site with. Personally, I’m not convinced that this helps SEO. It just makes sure all your pages get listed–which if you are practicing good SEO on your site, when you should not have to worry about a page not being listed. To enable Google Sitemap:

  • Goto Plugins on the Site Admin page and deactivate Slideshow and Slideshow Applet
  • Activate Sitemap

9. Optimize permalinks

Search engines do not like variables (question marks and ampersands) at the end of URLs. Gallery is made to be sticky with its items which makes human browsing easier and pretty much eliminates the need to use the browser’s back button. If you use the breadcrumbs in the upper left to view a parent album, you are shown the album page that contains the item you were just viewing. Below are changes to make to the Gallery2 code

Comment out the urlParams call in /modules/core/classes/GalleryTheme.class
LINE 1408 - BEFORE

if (!empty($theme['parents'][$i + 1]['id'])) {
$urlParams['highlightId'] = $theme['parents'][$i + 1]['id'];
} else if ($itemId && ($i + 1) == count($theme['parents'])) {
$urlParams['highlightId'] = $itemId;
}

LINE 1408 - AFTER

/* if (!empty($theme['parents'][$i + 1]['id'])) {
$urlParams['highlightId'] = $theme['parents'][$i + 1]['id'];
} else if ($itemId && ($i + 1) == count($theme['parents'])) {
$urlParams['highlightId'] = $itemId;
} */

10. Make item titles into heading text and links

Add heading tags to item titles in /themes/matrix/templates/album.tpl (with “matrix” being your current theme)

LINE 121 - BEFORE

<p class="giTitle">
{if $child.canContainChildren && (!isset($theme.params.albumFrame)
|| $theme.params.albumFrame == $theme.params.itemFrame)}
{* Add prefix for albums unless imageframe will differentiate *}
{g->text text="Album: %s" arg1=$child.title|markup}
{else}
{$child.title|markup}
{/if}
</p>

LINE 121 - AFTER

<h2 class="giTitle">
{if $child.canContainChildren && (!isset($theme.params.albumFrame)
|| $theme.params.albumFrame == $theme.params.itemFrame)}
{* Add prefix for albums unless imageframe will differentiate *}
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">
{g->text text="Album: %s" arg1=$child.title|markup}</a>
{else}
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">
{$child.title|markup}</a>
{/if}
</h2>

11. Prevent duplicate base URLs for your Gallery

On Apache servers, you can change by each directory how the web server serves up your pages within a file named .htaccess. If you have implimented the URL Rewrite plugin correctly, then you should already have an .htaccess file in your Gallery2 directory. Redirects affect SEO negatively, and it has been said that two site homepages, /main.php and /, harm SEO. To prevent the 301 redirect to /main.php, add the following lines to the top of your .htaccess:

# Set the default handler.
DirectoryIndex main.php

It should be said that not all hosts allow you do change the DirectoryIndex. Also, this also might need to be done to get rid of “main.php” in the breadcrumb. I’m not sure if I changed this myself or gallery set it automatically, but on line 177 of /config.php, I have:

# Set the default handler.
DirectoryIndex main.php

In a related note, some search engines will differentiate www.yourdomain.com and yourdomain.com. This not good and could result in duplicate content. You can search Google via site:yourdomain.com and find out how your site is currently listed. You want to be listed in the same format that external links and internal links are linking to your site. To redirect pages without “www” to a page with the prefix, add the following lines to the top of your .htaccess:

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

If you are hosting, your Gallery2 in a subdirectory (e.g.- photos), use this:

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/photos/$1 [R=301,L]

12. Add META tags to your Gallery2 pages

It has been said that META tags have lost importance since their glory days ten years ago. They have lost importance to external links, but they are not to be disregarded. To add the META tags keyword and description to your Gallery2 pages add the following lines to /themes/matrix/templates/theme.tpl (with “matrix” being your current theme).

LINE 19 - BEFORE

{* If Gallery doesn't provide a header, we use the album/photo title (or filename) *}
{if empty($head.title)}
<title>{$theme.item.title|markup:strip|default:$theme.item.pathComponent}</title>
{/if}

LINE 19 - AFTER

{* If Gallery doesn't provide a header, we use the album/photo title (or filename) *}
{if empty($head.title)}
<title>{$theme.item.title|markup:strip|default:$theme.item.pathComponent}</title>
{/if}
<meta name="keywords" content="{$theme.item.keywords|markup:strip|default:$theme.item.pathComponent}" />
<meta name="description" content="{$theme.item.description|markup:strip|default:$theme.item.pathComponent}" />

Note: The above is only an addition of the meta tags.

13. Optimize page title

Page titles are some of the most important information used for SEO. Search engines will only use the first so many characters. I’ve heard that title elements should ideally be less than 64 characters in length. That doesn’t been you can’t use longer ones though. Forum user, maravizzo, suggests adding the title of the parent album to the page title. This should increases your associated keyword density in your page title.

Add lines in /themes/matrix/templates/theme.tpl
LINE 14 - BEFORE


{if empty($head.title)}
<title>{$theme.item.title|markup:strip|default:$theme.item.pathComponent}</title>
{/if}

LINE 14 - AFTER


{if empty($head.title)}
<title>{$theme.item.title|markup:strip|default:$theme.item.pathComponent}
{if $theme.parent.title}
:: {$theme.parent.title|markup:strip|default:$theme.parent.pathComponent}
{/if}
:: Title of Site</title>
{/if}

14. Create SEO page numbers

This is related to number six, Optimize permalinks, but I have yet figured how to do it. I’ve read the Gallery2 forum thread, URL Rewrite for page number, but did not want to change my current item permalinks. If anyone has suggestions, I’d love to see this addressed.

Make The Logo Bigger Cream will solve all your advertising woes!

Thursday, November 1st, 2007

I generally don’t promote specific websites on this blog, but I enjoyed this humorous designer-centric site, MakeMyLogoBiggerCream too much not to post. Not only does it offer Make My Logo Cream, but if you act now you can get Whitespace Remover, Starburst Dust, Fluorescizer and The Emotionator for only three payments of $29.99! Act now!

Macromedia Dreamweaver 8 crashing on startup and close

Tuesday, October 30th, 2007

For a long time, I have had problems with Macromedia Dreamweaver 8 crashing at the close of the program. I had never had a problem with Macromedia Dreamweaver 8 crashing at startup until the other day. I surmise that Macromedia Dreamweaver 8 had closed and crashed as it usually did, but this time it wrote an invalid or corrupt Site Cache file. It took me a few hours to remove all parts of Macromedia Dreamweaver 8 from my system, but I finally found the corrupt site cache file in users/{username}/library/application support/macromedia/common/8/Sites/

Six plus hours uninstalling and re-installing Adobe Creative Suite 3 (OS-X)

Tuesday, October 30th, 2007

Adobe Illustrator CS3 crashed every time I tried to print to a CD on my Epson Stylus Photo R220. I decided to re-install Adobe Illustrator CS3. I did an uninstall with the uninstaller found in /Applications/Utilites/Adobe Installers. I then tried to re-install Adobe Illustrator CS3 with the installation DVD. Twenty minutes into the installation, it said
“Please insert Adobe ExtendScript Toolkit 2 to continue installation” I googled the error and found this Adobe support page, Message “Please insert Adobe ExtendScript Toolkit 2 to continue installation” when you install, reinstall or repair a CS3 Suite or CS3 application (Mac OS) I could not find a “Add or Remove Adobe ExtendScript Toolkit 2 alias” in /Applications/Utilites/Adobe Installers, so I decided to re-install the whole suite!

One of my co-workers warned that I needed to completely remove CS3 preferences, plists, and all those other files that OS-X applications install but never remove!!! I finally found this Adobe Support page, Remove CS3 prerelease software (Creative Suite and individual applications). I figured that it would remove release software, too. I believe that it does, but be sure you know what you doing when you use it. This script runs from the terminal, so it mainly a UNIX shell script that deletes folders and files.

I am now back to Illustrator 13.0.0 instead of 13.0.2, but only after more than six hours of uninstalling and re-installing Adobe Creative Suite !

Why email isn’t sending on the iPhone

Wednesday, September 19th, 2007

I don’t own an Apple iPhone. I don’t have a need for a smart phone (maps, sending email on my phone, or watching YouTube videos–can you do and still call it a “smart” phone?). I also don’t want to pay for AT&T’s media plan either. And I only use my 20GB iPod in the car. Three of my co-workers own iPhones though, and one asked me to configure it to send email.

You would thin, since the only wireless carrier that the Apple iPhone works with is AT&T (albeit the new hacks that have appeared), that they would make the default SMTP server AT&T’s SMTP’s server. However, they didn’t.

In AT&T’s Support KnowledgeBase KB7276 it says:

AT&T will provide support for sending E-mail using AT&T owned and operated outgoing server addresses:

  • Former AT&T Wireless customers use “smtp.mymmode.com” (Standard POP/IMAP compatible via port 25 with no SSL.)
  • AT&T customers use “cwmx.com” (Standard POP/IMAP compatible via port 25 with no SSL.)

The configuration and use of any other outgoing server address will not be supported due to several factors including, but not limited to, the inability for the outgoing server to authenticate users (whether by IP or username/password) that are not directly connected to that Internet Service Providers network. This is mainly done to prevent unsolicited users from sending SPAM via the ISPs servers.

Problem fixed!

Project managment and timesheet accounting

Friday, May 4th, 2007

I have used a few project management software packages ArtLogik, AceProject, and dotProject (open source) at my current job and a former job. At my current job, online project management did not last long. Since we are small company of under 10 employees that do not pass projects back and forth often, there is not a great need for the overhead of project management software.

Personal Timesheet

We use job folders that an archive copy of the project on DVD and time sheets go into. Before tallying the final time sheet that is printed from Excel, I use a personal time sheet that I write on. It is a seven column time sheet with the date, start and end times, a short description, the hours of the task, the comp number (only used for print projects), and a column to check if I have transferred the time to the final time sheet that goes into the job folder.

Final Time Sheet

The final time sheet that is archived with the digital copy of the project files is an Excel template. It has a place for the job number client and project in the heading. The way these three spreadsheet cells are set up that increases productivity is that one can complete the information for all three cells, copy them to the clipboard, and then paste them into the file name of the Excel file. Thus the filename will be .xls and Spotlighting (from OS-X) the correct files in the future will be easy.

After the heading, is a list of the tasks with their date, description and total time. Below the task hours that are billed are additional fees that can be charged such comp approvals, ftp approvals, pdf approvals, and DVD approvals. This is all where material costs would be listed. These section has five columns: the date, a description of there service, who the material was sent to, how it was sent, and who said to send it. This level of description allows for a paper trail of who did what and when.

I hope that these thoughts and files help you in your project management. How do you do project management in your business? Do you use a paper trail? Track it all online?

Free and paid video magazine subscriptions

Wednesday, October 18th, 2006

About half of the following magzines, you might be able to get for free. I just subscribe to a bunch of them, so I can’t endorse any of them.
Videomaker (really basic, consumer level, but good beginner info)
Cinema Editor (from American Cinema Editors)
Videography
Studio
Video Systems
Dynamic Graphics
Photoshop User
DV (a favorite)
Post
Cinefex
Broadcast Engineering
Film & Video (now only available online)
TVB
Government Video
e-Media

Stephen M. James
smjdesign.com

Lack of an Apple Option [is] Key in buying a computer

Thursday, August 17th, 2006

I use a Mac for 8 hours everyday at work and they have definitely grown on me. Except for the simplicity of Finder (all 3 viewing modes are awful because they are not easily navigated by the keyboard) and lack of 10 million free programs that you can get off the net to run on Windows–I’d say I like it more (that’s a big step, btw).

So I’m in the market for a new PC and I actually thought about an Apple, but once I realized the options (or lack of), I didn’t look back and bought parts for a PC.

There are only 3 models of Mac: Mini ($500+), iMac ($1500+), MacPro($2500+). I am a media designer, and I will need 1GB+ to run Photoshop, Flash, and Illustrator at the same time. The only one that can do that (that also doesn’t require buying a monitor) is the MacPro which costs five times as much as I’m making my new PC for. I’m only buying a motherboard, 2GB of memory, a mATX case/power supply, and an AM2 processor for $500 from Newegg.com, since I already have hard disks and 2 DVD drives and an LCD monitor.

I know that building a PC from scratch is nothing compared to listening to the OS-X installation background music :-), but I’m sure I could get a Dell with enough processing power and upgrade the memory for $150. And anyway why would I need 4 Xeon processors (Mac Pro) if I’m not editing video? My work’s dual G5’s are fine. I think Apple just wants a pretty profit margin for their top of line system–one that I’m not willing to fill with my money.

Sorry, Steve, you need more options.

–Stephen M. James
www.smjdesign.com

Portfolio ideas: Flash and HTML layered

Monday, May 22nd, 2006

I’m considering creating a new portfolio that will allow a Flash presentation of thumbnails of my work along with the actual HTML of the work within the same browser window (no popup, that is). The idea is to show the interactivity of my work without opening a new window. Most sites that I visit that showcase interactive Flash websites, open new windows to display each entry. Well, it’s a slight pain to close them. This idea would eliminate that.

But does it matter? Am I just wasting my time creating something I’ve never seen before just to be creating something I’ve never seen before? Is that worth it? Do creative directors really care if the idea is new (as far as I know), especially if they are graphic designers and not programmers of any sort.

My last portfolio took more than 150 hours, since it was all dynamic and is controlled by a text file of XML. Have I changed the text file since I started working full-time at my current job?

Nope.

It did display over 50 items that would have taken many tedious (and boring!) hours to create if I hadn’t dynamically created the current site at smjdesign.com, but viewers don’t know this. Only painters know how hard it is to paint. At the current site, my goal was to have minmal navigation on the screen, yet, be able to navigate almost instantly to the over 50 pieces. I achieved that, but some people said it was confusing, since I hid the navigation.

–Stephen M. James
www.smjdesign.com


My Sites