Metadata request

Bharat Mediratta <[email protected]> Sun, 23 Jun 2013 09:43:32 -0700
Newsgroups gmane.comp.web.gallery.devel
Message-ID <CAESa+_=fpu9UD_XR5iFFPDqNV+C=NiGg0H+k9w4AqkiSWEqBow@mail.gmail.com>
--===============5893339991411143336==
Content-Type: multipart/alternative; boundary=089e013c70427a04e104dfd50108

--089e013c70427a04e104dfd50108
Content-Type: text/plain; charset=ISO-8859-1

I got this request in a private message, what do you guys think?

May I please suggest future releases have the following meta data included
in Gallery by default. Right now each individual theme has a page.html.php
file where the metadata is contained. Unfortunately the data consists of
only<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
With the rise in use of FaceBook as a base to share pictures and videos
this meta data is deficient in tags that allow users to post links to their
videos and have a thumb and description show up with the normal text link.
By inserting


<meta property="og:image" content="<?= $theme->item->thumb_url(true)?>"/ >
  <meta property="og:title" content="<?=  $theme->item()->title ?>" />
  <meta property="og:description"content="<?=
$theme->item()->description ?> " />
  <meta property="og:url" content="<?= $theme->item->abs_url() ?>" />

into the file Gallery is 100% compatible with the FaceBook debugger. This
allows not only the text and description link but it inserts the thumbnail
as well.

--089e013c70427a04e104dfd50108
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div style>I got this request in a private message, wh=
at do you guys think?</div><div style><br></div><div style><p style=3D"padd=
ing:0px;margin:0px 0px 0.8em;color:rgb(51,51,51);font-family:verdana,sans-s=
erif;font-size:14px;line-height:17px">

May I please suggest future releases have the following meta data included =
in Gallery by default. Right now each individual theme has a page.html.php =
file where the metadata is contained. Unfortunately the data consists of on=
ly<code class=3D"" style=3D"font-family:&#39;andale mono&#39;,&#39;Courier =
New&#39;,Monaco,monospace;font-size:0.95em;background-color:rgb(204,204,204=
);border:1px solid rgb(119,119,119);padding:0px 2px;white-space:pre;overflo=
w:auto">&lt;meta http-equiv=3D&quot;content-type&quot; content=3D&quot;text=
/html; charset=3DUTF-8&quot; /&gt;</code><br>

With the rise in use of FaceBook as a base to share pictures and videos thi=
s meta data is deficient in tags that allow users to post links to their vi=
deos and have a thumb and description show up with the normal text link.<br=
>

By inserting</p><pre class=3D"" style=3D"background-color:rgb(204,204,204);=
padding:4px;border:1px solid rgb(119,119,119);width:650px;overflow:auto;fon=
t-size:1.25em;margin:10px 40px;font-family:&#39;andale mono&#39;,&#39;Couri=
er New&#39;,Monaco,monospace;color:rgb(51,51,51)">

&lt;meta property=3D&quot;og:image&quot; content=3D&quot;&lt;?=3D $theme-&g=
t;item-&gt;thumb_url(true)?&gt;&quot;/ &gt;   =20
  &lt;meta property=3D&quot;og:title&quot; content=3D&quot;&lt;?=3D  $theme=
-&gt;item()-&gt;title ?&gt;&quot; /&gt;
  &lt;meta property=3D&quot;og:description&quot;content=3D&quot;&lt;?=3D $t=
heme-&gt;item()-&gt;description ?&gt; &quot; /&gt;
  &lt;meta property=3D&quot;og:url&quot; content=3D&quot;&lt;?=3D $theme-&g=
t;item-&gt;abs_url() ?&gt;&quot; /&gt;</pre><p style=3D"padding:0px;margin:=
0px 0px 0.8em;color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:=
14px;line-height:17px">

into the file Gallery is 100% compatible with the FaceBook debugger. This a=
llows not only the text and description link but it inserts the thumbnail a=
s well.</p></div></div>

--089e013c70427a04e104dfd50108--


--===============5893339991411143336==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
--===============5893339991411143336==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
--===============5893339991411143336==--