[wordpress插件] Customizable XML Feeds可自定义的XML Feed

wordpress 插件 文章 2020-04-10 13:50 396 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

CustomXML uses a custom taxonomy to create rss feeds that can be utilized by Exact Target or

CustomXML使用自定义分类法创建rss提要,供精确目标或
使用

other services.

其他服务。

This plugin creates a custom xml feed, formatted to be usable by Exact Target or other any

此插件创建自定义xml提要,其格式设置为可由Exact Target或其他任何对象使用

other service that relies on information from RSS/XML feeds.

依赖RSS / XML提要中信息的其他服务。

Activating the plugin adds a custom taxonomy called “Email Tags” to posts.

激活插件会在帖子中添加一个名为“电子邮件标签”的自定义分类法。

This custom

这个习惯

taxonomy is utilized by the plugin to generate custom endpoints for rss feeds.

插件利用分类法为rss feed生成自定义端点。

“Email Tags”

“电子邮件标签”

are custom tags that appear like any other archive in WordPress.

是自定义标签,显示方式与WordPress中的其他任何存档一样。

However, custom layout

但是,自定义布局

settings can be applied on the plugin settings page to customize the length of the feed,

可以在插件设置页面上应用设置以自定义提要的长度,

the size of the images in the feed, and the length of the content in the feed.

提要中图像的大小以及提要中内容的长度。

Note about images:

关于图片的注释:

    • Because of the nature of image sizes, I will not add functionality to go back and resize

    • 由于图像尺寸的本质,我将不添加功能以返回并调整尺寸

      all images for the correct categories.

      正确类别的所有图像。

      If you need to change it and go back to change image

      如果您需要更改并返回更改图像

      sizes, try the Regenerate Thumbnails plugin

    • 大小,请尝试重新生成缩略图插件

    Right now, this is limited to just “posts”.

    现在,这仅限于“帖子”。

    However, to add it to additional post types,

    但是,要将其添加到其他帖子类型中,

    create a new filter on ‘CustomXML\tag_post_types’ to and add the custom post types to the

    在“ CustomXML \ tag_post_types”上创建新的过滤器,并将自定义帖子类型添加到

    array.

    数组。

    The plugin also creates a custom excerpt that can be used to override the default grabbed

    该插件还创建了一个自定义摘录,可用于覆盖默认抓取的内容

    by the feed.

    通过提要。

    Rather than using a portion of the content to generate the description, it

    它不是使用一部分内容来生成描述,而是

    will use the custom excerpt, if it exists.

    将使用自定义摘录(如果存在)。

    Otherwise, it’ll pull an excerpt from the except,

    否则,它将摘录除外的内容,

    and finally from the post.

    最后是帖子。

    The format of the feed is:

    提要的格式为:

    ``

     ``

        

        

    Title of the Post
        

    帖子标题
        

    Permalink to the Post
        

    帖子的永久链接
        

    Associated Image URL
        

    关联图片网址
        

    Story Description

    故事说明

    Feeds can be located at

    进纸可以位于

      1. Base: example.com/?feed=xtxml
      2. 基础: example.com/?feed=xtxml

      3. Custom Email Tag: example.com/email-tag/email-tag-slug/?feed=xtxml
      4. 自定义电子邮件标签: example.com/email-tag/email-tag-slug/?feed=xtxml

      5. Other taxonomy: example.com/category/category_name/?feed=xtxml
      6. 其他分类法: example.com/category/category_name/?feed=xtxml

      Upcoming

      即将

        • Create setting to choose which post types the taxonomy should be registered with.

        • 创建设置以选择应向其注册分类法的帖子类型。

          Accessible

          无障碍的

          currently only by using a filter (‘CustomXML\tag_post_types’).

        • 当前只能使用过滤器(“ CustomXML \ tag_post_types”)。

安装步骤

    1. Upload customizable-xml-feeds to the /wp-content/plugins/ directory
    2. customizable-xml-feeds 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Create email tags to be used in stories.
    6. 创建要在故事中使用的电子邮件标签。

    7. Go to the settings page and configure layout for the tags.
    8. 转到设置页面并配置标签的布局。

    9. Tag stories to appear in those feeds.
    10. 标记故事以显示在这些供稿中。

下载地址
https://downloads.wordpress.org/plugin/customizable-xml-feeds.1.0.0.zip
-EOF-

AI助手支持GPT4.0