<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Meta property in php]]></title><description><![CDATA[<p dir="auto">Ciao,<br />
ti basta mettere l'echo di alcune variabili, a cui darai il valore nella pagina principale.</p>
<p dir="auto">Esempio:</p>
<p dir="auto">Pagina a.php</p>
<pre><code>$var1 = 'Valore da dare';
include('metatag.php');
</code></pre>
<p dir="auto">Pagina b.php</p>
<pre><code>$var1 = 'Valore da dare nella pagina B';
include('metatag.php');
</code></pre>
<p dir="auto">metatag.php</p>
<pre><code>[COLOR=#000000][FONT=monospace]&lt;meta property="og:title" content="&lt;?php if(isset($var1)) echo $var1; ?&gt;"&gt;     [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]&lt;meta property="og:type" content="..."&gt;[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]&lt;meta property="og:[/FONT][/COLOR][URL="http://www.giorgiotave.it/wikigt/os/URL"]url[/URL][COLOR=#000000][FONT=monospace]" content="..."&gt;[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]&lt;meta property="og:image" content="..."&gt;[/FONT][/COLOR]
</code></pre>
<p dir="auto">Ovviamente devi farlo per ogni tag, l'ho semplificato per renderlo facilmente comprensibile.</p>
]]></description><link>https://dev.connect.gt/topic/210310/meta-property-in-php</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 05:44:23 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/210310.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Jan 2015 21:44:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Meta property in php on Mon, 26 Jan 2015 17:45:00 GMT]]></title><description><![CDATA[<p dir="auto">Che CMS usi?</p>
]]></description><link>https://dev.connect.gt/post/1187271</link><guid isPermaLink="true">https://dev.connect.gt/post/1187271</guid><dc:creator><![CDATA[jacko.s.websolutions]]></dc:creator><pubDate>Mon, 26 Jan 2015 17:45:00 GMT</pubDate></item><item><title><![CDATA[Reply to Meta property in php on Mon, 26 Jan 2015 17:27:43 GMT]]></title><description><![CDATA[<ul>
<li>og:title - The title of your object as it should appear within the graph, e.g., "The Rock".</li>
<li>og:type - The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required.</li>
<li>og:image - An image URL which should represent your object within the graph.</li>
<li>og:url - The canonical URL of your object that will be used as its permanent ID in the graph</li>
</ul>
]]></description><link>https://dev.connect.gt/post/1187270</link><guid isPermaLink="true">https://dev.connect.gt/post/1187270</guid><dc:creator><![CDATA[jacko.s.websolutions]]></dc:creator><pubDate>Mon, 26 Jan 2015 17:27:43 GMT</pubDate></item><item><title><![CDATA[Reply to Meta property in php on Mon, 26 Jan 2015 17:13:23 GMT]]></title><description><![CDATA[<p dir="auto">Allora, ecco qui:</p>
<p dir="auto">prima di tutto va creato il file .php dal quale verranno richiamati i tags, che chiameremo ad esempio meta-tags.php</p>
<p dir="auto">il suo contenuto sarà questo (in teoria le aperture e chiusure dei tag php non servono nemmeno):</p>
<pre><code class="language-php">&lt;?php
?&gt;
&lt;meta property="og:title" content="..."&gt;     
&lt;meta property="og:type" content="..."&gt;
&lt;meta property="og:url" content="..."&gt;
&lt;meta property="og:image" content="..."&gt;
&lt;?php
?&gt;
</code></pre>
<p dir="auto">Nella pagina dove dovranno essere inseriti è necessario effettuare un include del file meta-tags in questo modo:</p>
<pre><code class="language-php">&lt;? include 'meta-tags.php'; ?&gt;
</code></pre>
<p dir="auto">Questo lo vai a mettere nel luogo esatto dove vuoi che i meta-tags appaiano</p>
]]></description><link>https://dev.connect.gt/post/1187269</link><guid isPermaLink="true">https://dev.connect.gt/post/1187269</guid><dc:creator><![CDATA[jacko.s.websolutions]]></dc:creator><pubDate>Mon, 26 Jan 2015 17:13:23 GMT</pubDate></item><item><title><![CDATA[Reply to Meta property in php on Mon, 26 Jan 2015 16:43:22 GMT]]></title><description><![CDATA[<p dir="auto">Vuoi sapere come procedere per creare questi "collegamenti" ?</p>
]]></description><link>https://dev.connect.gt/post/1187268</link><guid isPermaLink="true">https://dev.connect.gt/post/1187268</guid><dc:creator><![CDATA[jacko.s.websolutions]]></dc:creator><pubDate>Mon, 26 Jan 2015 16:43:22 GMT</pubDate></item><item><title><![CDATA[Reply to Meta property in php on Mon, 26 Jan 2015 11:52:49 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Apthu</strong></p>
<p dir="auto">I dati da inserire nei meta.</p>
</blockquote>
<p dir="auto">Senza copiarti pari pari il contenuto, trovi indicazioni semplici e veloci qui <a href="http://ogp.me/" rel="nofollow ugc">http://ogp.me/</a> .<br />
Si tratta dei Meta Tags di base  <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/8d7b9529-9868-4606-8ca1-85ca7d28c845-wink.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--wink3" style="height:1.4em;width:auto;vertical-align:middle" title=":wink3:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/1187265</link><guid isPermaLink="true">https://dev.connect.gt/post/1187265</guid><dc:creator><![CDATA[jacko.s.websolutions]]></dc:creator><pubDate>Mon, 26 Jan 2015 11:52:49 GMT</pubDate></item><item><title><![CDATA[Reply to Meta property in php on Mon, 26 Jan 2015 08:00:17 GMT]]></title><description><![CDATA[<p dir="auto">E' fattibilissimo, cosa vuoi sapere? <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/1881713c-5c09-4986-bf15-fa308ef84b2e-smilegt.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--smile5" style="height:1.4em;width:auto;vertical-align:middle" title=":smile5:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/1187259</link><guid isPermaLink="true">https://dev.connect.gt/post/1187259</guid><dc:creator><![CDATA[jacko.s.websolutions]]></dc:creator><pubDate>Mon, 26 Jan 2015 08:00:17 GMT</pubDate></item></channel></rss>