• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Search Engine optimization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search Engine optimization


  • Subject: Re: Search Engine optimization
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 11 May 2005 12:20:58 -0700

It is really very simple:

public String itemCatalogUrl(Item anItem) {
return "http://"; + domain() + "/itemCatalog?itemID=" + anItem.idForDirectAction();
}


domain() can return a static string, a value from a config file, a value from the request headers (search archived for "host name"), etc. Item.idForDirectAction() just needs to return the unique key you want to use. Often this is the PK.

Chuck


On May 10, 2005, at 6:21 PM, Greg wrote:


On 11/05/2005, at 9:54 AM, Chuck Hill wrote:

yes, WO won't do it for you. I usually make a URL factory class.


Is there any chance you could post an example please Chuck?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Search Engine optimization (From: Ute Hoffmann <email@hidden>)
 >Re: Search Engine optimization (From: Chuck Hill <email@hidden>)
 >Re: Search Engine optimization (From: Greg <email@hidden>)

  • Prev by Date: Re: Tiger: wotaskd exits code 1
  • Next by Date: Re: Weird Logging with my 5.2.4 deployment
  • Previous by thread: Re: Search Engine optimization
  • Next by thread: Tiger: wotaskd exits code 1
  • Index(es):
    • Date
    • Thread