gdr2_SEO

Shared SEO functions.


function __construct($text = null)


public get_tags_from_internal($title, $content)

  • $title: title for the content.
  • $content: content, can contain HTML.

Get tags using internal phpSEO class.
Function returns: string|array tags array or error message if fails.


public get_tags_from_alchemy($title, $content, $timeout = -1, $api_key = “”)

  • $title: title for the content.
  • $content: content, can contain HTML.
  • $timeout: operation timeout. Set to -1 to not use timeout..
  • $api_key: API Key.

Get tags from Alchemy.
Function returns: string|array tags array or error message if fails.


public get_tags_from_zemanta($title, $content, $timeout = -1, $api_key = “”)

  • $title: title for the content.
  • $content: content, can contain HTML.
  • $timeout: operation timeout. Set to -1 to not use timeout.
  • $api_key: API Key.

Get tags from Zemanta.
Function returns: string|array tags array or error message if fails.


public get_tags_from_tagthe($title, $content, $timeout = -1)

  • $title: title for the content.
  • $content: content, can contain HTML.
  • $timeout: operation timeout. Set to -1 to not use timeout.

Get tags from TagThe.net.
Function returns: string|array tags array or error message if fails.


public get_tags_from_yahoo($title, $content, $timeout = -1, $app_id = “GDR2”)

  • $title: title for the content.
  • $content: content, can contain HTML.
  • $timeout: operation timeout. Set to -1 to not use timeout.
  • $app_id: ID name for the application.

Get tags from Yahoo.
Function returns: string|array tags array or error message if fails.

Comments

Leave a Reply