RSS Feed/News How to add custom schema?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,753
Points
823

Reputation:

Hello, I want to add a custom schema of books for XFRM items.
What I have done so far is update the xfrm_resource_view

Code:

Code:
<xf:macro template="metadata_macros" name="metadata"
    arg-type="books.book"
    arg-description="{$descSnippet}"
    arg-shareUrl="{{ link('canonical:resources', $resource) }}"
    arg-canonicalUrl="{{ link('canonical:resources', $resource) }}"
    arg-imageUrl="{{ $resource.getCoverImage() ?: ($resource.getIconUrl('l', true) ?: $xf.options.defaultMetaImage)...

Read more

Continue reading...
 
Status
Not open for further replies.
Top