/usr/share/tdiary/contrib/plugin/vimeo.rb is in tdiary-contrib 5.0.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #
# vimeo.rb - insert some services of vimeo.com
#
# Copyright (C) 2011, Kiwamu Okabe <kiwamu@debian.or.jp>.
# You can redistribute it and/or modify it under GPL2.
#
def vimeo( id )
if feed? then
return %Q|<a href="http://vimeo.com/#{id}">Link to vimeo ##{id}</a></p><p>|
end
%Q|<iframe src="http://player.vimeo.com/video/#{id}?title=0&byline=0&portrait=0" width="400" height="300" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>|
end
|