MyXoops Forum

Forum - myXOOPS German Support

8 - 0 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

XOOPS und Meta-Tags

Betreff: XOOPS und Meta-Tags
von altermann am 11.12.2018 16:01:43

Hallo,

seit ein paar Tagen habe ich immer wieder mal die Meta-Tags geändert, auch davon habe ich wenig Ahnung.

Für mich war es wichtig, das beim teilen von Beiträgen zu Facebook und Twitter ein Vorschaubild kommt. Klappt soweit auch, bei Facebook kommt ein Standardbild, wenn der Beitrag kein Bild hat. Bei Twitter kommt leider immer das Standardbild.... weiß jemand woran das liegt?

Auch wollte ich, das bei der Google-Suche ein kleines Vorschaubild kommt, aber irgendwie scheint das auch nicht klappen zu wollen...

Über Tipps, was ich ändern müsste oder sollte wäre ich sehr dankbar.

Ich poste hier mal meine Metas:

    <meta http-equiv="content-language" content="<{$xoops_langcode}>"/>
    <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>"/>
    <title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}><{/if}></title>
    <meta name="robots" content="<{$xoops_meta_robots}>"/>
    <meta name="keywords" content="<{$xoops_meta_keywords}>"/>
    <meta name="description" content="<{$xoops_meta_keywords}> - <{$xoops_meta_description}>"/>
    <meta name="rating" content="<{$xoops_meta_rating}>"/>
    <meta name="author" content="<{$xoops_meta_author}>"/>
    <meta name="copyright" content="<{$xoops_meta_copyright}>"/>
    <meta name="generator" content="XOOPS"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="thumbnail" content="<{$item.image_path}>" />
    <meta name="theme-color" content="#637A91" />

        <meta property="og:title" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}><{/if}>"/>
        <meta property="og:description" content="<{$xoops_meta_keywords}> - <{$xoops_meta_description}>" />
        <meta property="og:type" content="html"/>
        <meta property="og:image" content="<{$item.image_path}>"/>
        <meta property="og:image" content="http://ddr-rezepte.net/images/logo-ddr.png"/>
        <meta property="og:url" content="<{php}>echo (isset($_SERVER["HTTPS"])?"https://":"http://").$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; <{/php}>" />
        <meta property="og:site_name" content="<{$xoops_sitename}>"/>
        
        <meta name="twitter:card" content="summary_large_image">
        <meta name="twitter:site" content="@DDR_Rezepte">
        <meta name="twitter:creator" content="@DDR-Rezepte.net">
        <meta name="twitter:title" content="<{if $xoops_pagetitle !=''}><{$xoops_pagetitle}><{/if}>">
        <meta name="twitter:description" content="<{$xoops_meta_keywords}> - <{$xoops_meta_description}>"/>
        <meta name="twitter:image" content="<{$item.image_path}>"/>
        <meta name="twitter:image" content="http://ddr-rezepte.net/logo-ddr.png"/>              
        
        
        <!--
  <PageMap>
    <DataObject type="thumbnail">      
      <Attribute name="src" value="<{$item.image_path}>"/>      
      <Attribute name="width" value="100"/>      
      <Attribute name="height" value="130"/>    
    </DataObject>
  </PageMap>
-->


Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5309 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1800 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag