<commit_before><?php

require_once("xml2array.inc.php");

$rss = file_get_contents("http://www.google.com/alerts/feeds/13399991165271360946/10512385881102747147");

$obj = xml2array($rss, $get_attributes=1);

echo "<style type=\"text/css\">"
    .".feed-container { width:100%; height:auto; position:relative; border:none; font-family:Georgia; } "
    .".feed-box { width:40%; position:relative; float:left; border:solid 1px green; margin:10px 10px 10px 10px; height:auto; padding:10px 10px 14px 10px; overflow:hidden; font-size:16px; }"
    .".feed-link { position:absolute; font-weight:bold; font-size:100%; color:#dd4444; width:150%; }"
    .".feed-link:hover { color:#dd8888; }  "
    .".feed-desc { font-weight:normal; position:relative; top:4px; font-size:80%; color:gray; }"
    ."</style>";


echo "<div class=\"feed-container\">";
foreach ($obj["feed"]["entry"] as $v) {


  echo "<div class=\"feed-box\">"
        ."<a class=\"feed-link\" href=\"".$v['link']['attr']['href']."\">".$v['title']['value']."</a>"
        ."<br /><span class=\"feed-desc\">".$v['content']['value']."</span>"
        ."</div>"
        ;
}

echo "</div>";


?><commit_msg>style changes<commit_after><?php

require_once("xml2array.inc.php");

$rss = file_get_contents("http://www.google.com/alerts/feeds/13399991165271360946/10512385881102747147");

$obj = xml2array($rss, $get_attributes=1);

echo "<style type=\"text/css\">"
    .".feed-container { width:100%; height:auto; position:relative; border:none; font-family:Georgia; } "
    .".feed-box { cursor:pointer; width:40%; position:relative; float:left; background-color:#eeeeee; border:none; margin:10px 10px 10px 10px; height:auto; padding:10px 10px 14px 10px; overflow:hidden; font-size:16px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;  }"
    .".feed-box:hover { background-color:#dddddd; }"
    .".feed-box:hover .feed-link { color:#ee0000; }  "
    .".feed-link { position:absolute; font-weight:bold; font-size:100%; color:#dd4444; width:250%; }"
    .".feed-desc { font-weight:normal; position:relative; top:4px; font-size:80%; color:gray; }"
    ."</style>";


echo "<div class=\"feed-container\">";
foreach ($obj["feed"]["entry"] as $v) {


  echo  "<a href=\"".$v['link']['attr']['href']."\" target=\"_blank\">"
        ."<div class=\"feed-box\">"
        ."<span class=\"feed-link\">".$v['title']['value']."</span>"
        ."<br /><span class=\"feed-desc\">".$v['content']['value']."</span>"
        ."</div>"
        ."</a>"
        ;
}

echo "</div>";


?>
{'fraction_non_alphanumeric': 0.24162396531336225, 'fraction_numerical': 0.06700827749310209, 'mean_word_length': 4.158536585365853, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3561886', 'n_tokens_mistral': 1025, 'n_tokens_neox': 912, 'n_words': 146}