Skip to content

Add mapping for RDF image#280

Merged
w3stling merged 1 commit intomasterfrom
add-mapping-for-rdf-image
Nov 13, 2025
Merged

Add mapping for RDF image#280
w3stling merged 1 commit intomasterfrom
add-mapping-for-rdf-image

Conversation

@w3stling
Copy link
Owner

@w3stling w3stling commented Nov 13, 2025

Add mapping for the image tag in the RDF feed.

/rdf:RDF/image/title -> channel.image().getTitle()
/rdf:RDF/image/link -> channel.image().getLink()
/rdf:RDF/image/url -> channel.image().getUrl()

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://www.xml.com/xml/news.rss">
		...
	</channel>
	<image rdf:about="http://xml.com/universal/images/xml_tiny.gif">
		<title>XML.com</title>
		<link>http://www.xml.com</link>
		<url>http://xml.com/universal/images/xml_tiny.gif</url>
	</image>
	<item rdf:about="http://xml.com/pub/2000/08/09/xslt/xslt.html">
		...
	</item>
	<item rdf:about="http://xml.com/pub/2000/08/09/rdfdb/index.html">
		...
	</item>
</rdf:RDF>

@w3stling w3stling added the enhancement New feature or request label Nov 13, 2025
@sonarqubecloud
Copy link

@github-actions
Copy link

Test Results

 13 files   13 suites   26s ⏱️
309 tests 307 ✅ 2 💤 0 ❌
317 runs  315 ✅ 2 💤 0 ❌

Results for commit bf4eb5c.

@w3stling w3stling merged commit 1d26831 into master Nov 13, 2025
7 checks passed
@w3stling w3stling deleted the add-mapping-for-rdf-image branch November 13, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant