<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>end0tknr</author_name>
  <author_url>https://blog.hatena.ne.jp/end0tknr/</author_url>
  <blog_title>end0tknr's kipple - web写経開発</blog_title>
  <blog_url>https://end0tknr.hateblo.jp/</blog_url>
  <categories>
    <anon>html css</anon>
  </categories>
  <description>これまでサーバ側のperlで「...」な省略を行なってました この手のviewの処理は、client側のjavascriptで行うべきかもしれませんが、良い方法が思い浮かばなかったので、表示領域を文字数超える場合、「...」等で溢れた部分を省略する場合、次のようなperl scriptでserver sideで処理していました。 sub str_head { my ($self,$org_str,$limit_len) = @_; return undef if(not defined($org_str)); my $len = length($org_str); return $org_st…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20120324%2F1332589506&quot; title=&quot;はみ出した文字を…(三点リーダ)等で省略するなら cssの text-overflow: ellipsis; - end0tknr&amp;#39;s kipple - web写経開発&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/e/end0tknr/20120324/20120324204645.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-03-24 20:45:06</published>
  <title>はみ出した文字を…(三点リーダ)等で省略するなら cssの text-overflow: ellipsis;</title>
  <type>rich</type>
  <url>https://end0tknr.hateblo.jp/entry/20120324/1332589506</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
