November 25, 2003

The MT mod Zipped

Download the how to be visually linked for Movable Type Website including the images and logo in a zipped file.

Posted by Alan at 05:29 PM | Comments (2)

November 06, 2003

Install in Movable Type

Implementing the visually linked icons is practically the same as implementing smileys in Movable Type Website, it can be done in different ways just choose the one that suites you.
I opted here to a mod (hack). I can use ";w;" next to a link to other web site and it will get automatically replaced by the corresponding little image next to the link.


I've adapted the code from here Website passing by there Website :

Open The file in MTdirectory/lib/MT/Util.pm

After making a backup for your file, look for:

"sub html_text_transform {
my $str = shift;
$str ||= '';"

and add those lines

  • $str =~s/\;a;/<img src=\"http:\/\/YOURSITE.com\/FOLDER\/a.png\" width=\"20\" height=\"16\"border=\"0\" alt=\"Audio\"\/>/g;
  • $str =~s/\;v;/<img src=\"http:\/\/YOURSITE.com\/FOLDER\/v.png\" width=\"20\" height=\"16\" border=\"0\" alt=\"Video\"\/>/g;
  • $str =~s/\;p;/<img src=\"http:\/\/YOURSITE.com\/FOLDER\/p.png\" width=\"20\" height=\"16\" border=\"0\" alt=\"Photo\"\/>/g;
  • $str =~s/\;w;/<img src=\"http:\/\/YOURSITE.com\/FOLDER\/w.png\" width=\"20\" height=\"16\" border=\"0\" alt=\"Website\"\/>/g;

Watch the escape "\" and don't forget to change "YOURSITE.com" "FOLDER" to their corresponding values or the image name if you're using your own images.

And now when typing ";a;" it get replaced by Audio


  • ";v;" by Video

  • ":p;" by Photo

  • ";w;" by Website

Here is some other ways to get visuallly linked :
You can use MTinclude tag (to include a file that you created before where there is the img tag and the url for your images) with the aid of the ProcessTags so you can use MT tags inside posts.
Otherwise get the help of bradchoate MTMacro. And if you need a solution for Greymatter if not try javascript's .

Posted by Alan at 09:44 PM | Comments (0)

Example

Here is a sentence to illustrate Photo the use of the visual Video links in a rich Audio web media environment Website.

Try to put some visual links in a full text page to really see the visual impact when you do a fast scroll and can clearly see links and know exactly where or what they lead to before clicking on them.

Posted by Alan at 03:07 PM | Comments (0)

November 05, 2003

The visual links

Website for other website link
Photo for a photo or image link
Audio for an audio link
Video for a video link

A little icon (image) describing the nature of the link in a web page (or any linkable text) visually, whether it is a link to other website to an image, audio or a video file.

The way to be implemented into a website is the same as implementing smilies or emoticons, by adding some reference lines and adding the images to the same folder as the smilies.

Posted by Alan at 10:58 PM | Comments (0)