<strong>white-space</strong>
normal 標準 (初期値)
nowrap 自動的な折り返しを禁止する prozac and alcohol…
ピックアップ記事
html、CSS テキストの自動折り返しを禁止する
2010年04月16日
過去Blog
preg_match
2010年03月24日
過去Blog
自分用メモ
$html = ブログから抜き出したソース;
preg_match("/抜き出すパターン/", $html);
最初は正規表現が間違っているのかと思い、いくつか正規表現のパターンを変えてテストしてみましたが、手ごたえなし(´;ω;`)ウッ…
正規表現以外の問題だと思い、さらに基本的なことを調べてみると・・・
「検索対象の文字列が1行か、複数行か。」
ここが問題だったようです…
PHP での SimpleXML 処理>>RSS取得
2009年12月05日
過去Blog
phpでrssの情報を抜き出したい場合は、titleやlinkの要素は以下の通りで抜き出せます。
<?php // Load and parse the XML document
$rss = simplexml_load_file('http://partners.userland.com/nytRss/nytHomepage.xml');
$title = $rss->channel->title;
?>
…
WHOIS pending delete から 取得可能になるまで
2010年03月24日
過去Blog
中古ドメインを探す際、whois の pending delete 表示から取得可能になるまでの期間は5日間?
…
IE・FireFoxで使えるお気に入りボタン(ブックマークボタン)
2009年12月09日
過去Blog
<script type="text/javascript">
<!--
if(navigator.userAgent.indexOf("MSIE") > -1){ //Internet Explorer
document.write('<!-'+'-[if IE]>');
document.write('<input type="button" valu…
graffiti on the web
この投稿へのコメント
コメントはまだありません。