Home » Forum
  • If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Extract Category from Meta-Tag

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Extract Category from Meta-Tag

    Our Content Mangagemant Systems delivers the following meta name in a web page with the syntax:

    Code:
    <meta name="ZOOMCATEGORY" content="Category:Keyword">
    Each web page has Category:Keyword. It is not possible to publish the Category only.

    I need a hint to split out the category in the search.php, so i can use in in ZOOM Search for categories.

    Thanks

  • #2
    I can't think of anything that would allow ZOOMCATEGORY to match partially like that. The content= attribute must be the full name of the category in Zoom.

    Changing "search.php" would not help in this matter. The categorizing and the reading of the meta tag would be done during the indexing stage (within the Indexer).

    I would think if you are to pursue any customization to achieve this, it would be easier to do so within your CMS to print out a proper ZOOMCATEGORY meta tag that does not have keywords attached.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      Okay, thats bad news.

      How many can the Indexer handle - we ave 95 Keywords? If i import a list like this:

      Code:
      Sport, Sport:Keyword_1, This would be the Sport section
      Sport, Sport:Keyword_2, This would be the Sport section
      Sport, Sport:Keyword_3, This would be the Sport section
      Sport, Sport:Keyword_4, This would be the Sport section
      Sport, Sport:Keyword_5, This would be the Sport section
      Sport, Sport:Keyword_6, This would be the Sport section
      Sport, Sport:Keyword_7, This would be the Sport section
      Sport, Sport:Keyword_8, This would be the Sport section
      Sport, Sport:Keyword_9, This would be the Sport section
      News, News:Keyword_1, This would be the News section
      News, News:Keyword_2, This would be the News section
      News, News:Keyword_3, This would be the News section
      News, News:Keyword_4, This would be the News sectio
      ...
      Should this work?

      Comment


      • #4
        The above won't work for 2 reasons.
        For each category you can only have one line of specification. Plus the 2nd field should be a pattern that matches the URL. The ZOOMCATEGORY value only matches against the entire first field, which is the category name.

        Comment

        Working...
        X