[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-devel
Subject:    Re: [Gallery-devel] Metadata request
From:       Shad Laws <shad () shadlaws ! com>
Date:       2013-06-23 16:54:08
Message-ID: CA+z51A5BBO5Rw-gF6q3KZ8jHuoA+ExaYZ+VXhCLxb12_k_qckA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


One thought: if we go down this road, we probably should take a peek at the
other OpenGraph metadata, too:
http://ogp.me/

Take care,
Shad

On 23 June 2013 18:43, Bharat Mediratta <bharat@menalto.com> wrote:

>
> 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.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> __[ 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 ]
>

[Attachment #5 (text/html)]

One thought: if we go down this road, we probably should take a peek at the other \
OpenGraph metadata, too:<div><a \
href="http://ogp.me/">http://ogp.me/</a></div><div><br></div><div>Take \
care,</div><div>Shad</div><div><br><div class="gmail_quote">

On 23 June 2013 18:43, Bharat Mediratta <span dir="ltr">&lt;<a \
href="mailto:bharat@menalto.com" target="_blank">bharat@menalto.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">

<div dir="ltr"><br><div>I got this request in a private message, what do you guys \
think?</div><div><br></div><div><p style="padding:0px;margin:0px 0px \
0.8em;color:rgb(51,51,51);font-family:verdana,sans-serif;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 only<code \
style="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-wrap;overflow:auto">&lt;meta \
http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; \
/&gt;</code><br>



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.<br>



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

&lt;meta property=&quot;og:image&quot; content=&quot;&lt;?= \
$theme-&gt;item-&gt;thumb_url(true)?&gt;&quot;/ &gt;      &lt;meta \
property=&quot;og:title&quot; content=&quot;&lt;?=  $theme-&gt;item()-&gt;title \
?&gt;&quot; /&gt;  &lt;meta property=&quot;og:description&quot;content=&quot;&lt;?= \
$theme-&gt;item()-&gt;description ?&gt; &quot; /&gt;  &lt;meta \
property=&quot;og:url&quot; content=&quot;&lt;?= $theme-&gt;item-&gt;abs_url() \
?&gt;&quot; /&gt;</pre><p style="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 allows not \
only the text and description link but it inserts the thumbnail as \
well.</p></div></div> \
<br>------------------------------------------------------------------------------<br>
 This SF.net email is sponsored by Windows:<br>
<br>
Build for Windows Store.<br>
<br>
<a href="http://p.sf.net/sfu/windows-dev2dev" \
target="_blank">http://p.sf.net/sfu/windows-dev2dev</a><br>__[ g a l l e r y - d e v \
e l ]_________________________<br> <br>
[ list info/archive --&gt; <a href="http://gallery.sf.net/lists.php" \
target="_blank">http://gallery.sf.net/lists.php</a> ]<br> [ gallery info/FAQ/download \
--&gt; <a href="http://gallery.sf.net" target="_blank">http://gallery.sf.net</a> \
]<br></blockquote></div><br></div>



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

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

__[ 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 ]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic