Archives: [soy / date / pol / r9k / incel / qa / tech / q / raid / a / int / x / r / v / mtv / mickey / news / asp / an / biz / bait / bunker / caca / chive / fit / fnac / g / gem / giga5 / hobby / jak / jiren / ohio / plier / ptb / sci / shrk / sneed / ss / sude / tv / yyyyyyy / b / bant / fap / giga / health / muv / nate / qst / soya / suggest / webm]
Update 2026-09-28: New! Check out the Flash Flash Archive!
Update 2026-09-25: Over 80k posts from the Internet Archive spanning 2021-2023, including full-size images, have been imported.
Update 2026-09-24: Search with AI: Type a natural search query to find relevant images. Click 'Similar' on any file to find visually similar images.
Update 2026-09-24: Over 2.3 million posts from the Kolyma-era Log Warehouse have been imported into the archive.
[4 / 1 / 1]
640px-Feed-icon.svg.png

php RSS bridge/scraper for imageboards

No.1121 View View Original Report
<?php

class TestBridge extends XPathAbstract {
const NAME = 'Test';
const URI = 'https://www.soyjak.party/soy/';
const DESCRIPTION = 'Test';
const MAINTAINER = 'your name';
const CACHE_TIMEOUT = 3600;

const FEED_SOURCE_URL = 'https://soyjak.party/soy/';
const XPATH_EXPRESSION_ITEM = '/html[1]/body[1]/section[1]/section[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[*]/article[1]';
const XPATH_EXPRESSION_ITEM_TITLE = './/a[@target="_self"]';
const XPATH_EXPRESSION_ITEM_CONTENT = './/div[@class="post-content"]';
const XPATH_EXPRESSION_ITEM_URI = './/a[@class="more-btn"]/@href';
const XPATH_EXPRESSION_ITEM_AUTHOR = '/html[1]/body[1]/section[1]/div[2]/div[1]/div[1]/h1[1]';
const XPATH_EXPRESSION_ITEM_TIMESTAMP = './/time/@datetime';
const XPATH_EXPRESSION_ITEM_ENCLOSURES = './/img/@data-src';
const SETTING_FIX_ENCODING = false;
}


this is what i have so far but it isnt returning any posts. does anyone have any advice on how to fix this?