PageSourceSearch

https://kiow.com/wp-content/plugins/rss-aggregator-plugin/rss-aggregator.js

js kiow.com collected 2026-10-03 22:11:04 UTC 1,258 bytes, 41 lines download raw bytes

1jQuery(document).ready(function ($) {
2    let page = 1;
3    const container = $('#rss-feed-container');
4    const feedUrl = container.data('feed-url');
5
6    function loadFeeds() {
7        if (!feedUrl) return;
8
9        $.ajax({
10            url: rssAggregatorAjax.ajax_url,
11            method: 'POST',
12            data: {
13                action: 'rss_aggregator_load_feeds',
14                feed_url: feedUrl,
15                page: page
16            },
17            success: function (data) {
18                if (data.length) {
19                    data.forEach(function (item) {
20                        const feedItem = `
21                            <div class="rss-feed-item">
22                                <h3><a href="${item.link}">${item.title}</a></h3>
23                                <p>${item.date}</p>
24                            </div>
25                        `;
26                        container.append(feedItem);
27                    });
28                    page++;
29                }
30            }
31        });
32    }
33
34    // Initial load and infinite scroll
35    loadFeeds();
36    $(window).on('scroll', function () {
37        if ($(window).scrollTop() + $(window).height() >= $(document).height() - 100) {
38            loadFeeds();
39        }
40    });
41});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.