<commit_before>{{ '<?xml version="1.0" encoding="UTF-8" ?>'."\n" }}
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title><![CDATA[{{ $channel['title'] }}]]></title>
        <link>{{ $channel['link'] }}</link>
        <description><![CDATA[{{ $channel['description'] }}]]></description>
        <atom:link href="{{ Request::url() }}" rel="self"></atom:link>

        @if ( ! empty($channel['logo']))
            <image>
                <url>{{ $channel['logo'] }}</url>
                <title><![CDATA[{{ $channel['title'] }}]]></title>
                <link>{{ $channel['link'] }}</link>
            </image>
        @endif

        <language>{{ $channel['lang'] }}</language>
        <lastBuildDate>{{ date('D, d M Y H:i:s O', strtotime($channel['pubdate'])) }}</lastBuildDate>

        @foreach($items as $item)
            <item>
                <title><![CDATA[{{ $item['title'] }}]]></title>
                <link>{{ $item['link'] }}</link>
                <guid isPermaLink="true">{{ $item['link'] }}</guid>
                <description><![CDATA[{{ $item['description'] }}]]></description>
                <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">{{ $item['author'] }}</dc:creator>
                <pubDate>{{ date('D, d M Y H:i:s O', strtotime($item['pubdate'])) }}</pubDate>
            </item>
        @endforeach
    </channel>
</rss><commit_msg>Primera versión funcionando (Falta optimizar algo y comentar, pero funciona)<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>{{ $feed->title }}</title>
        <link>{{ $feed->link }}</link>
        <description>{{ $feed->description }}</description>
        <atom:link href="{{ $feed->feedLink }}" rel="self"></atom:link>

        @if (isset($feed->logo))
            <image>
                <title>{{ $feed->title }}</title>
                <link>{{ $feed->link }}</link>
                <url>{{ $feed->logo }}</url>
            </image>
        @endif

        <language>{{ $feed->lang }}</language>
        <lastBuildDate>{{ $feed->pubDate }}</lastBuildDate>

        @foreach($feed->entries as $item)
            <item>
                <title>{{ $item->title }}</title>
                <link>{{ $item->link }}</link>
                <guid isPermaLink="true">{{ $item->link }}</guid>
                <description><![CDATA[{{ $item->content }}]]></description>
                <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">{{ $item->author }}</dc:creator>
                <pubDate>{{ $item->pubDate}}</pubDate>
            </item>
        @endforeach
    </channel>
</rss>
{'fraction_non_alphanumeric': 0.2421875, 'fraction_numerical': 0.008928571428571428, 'mean_word_length': 2.279268292682927, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 2, '>': 104, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '4405078', 'n_tokens_mistral': 887, 'n_tokens_neox': 821, 'n_words': 157}