简体   繁体   English

Drupal:更改RSS Feed演示文稿

[英]Drupal : change the rss feed presentation

I'm trying to manage a Drupal website made by an agency but i don't understand a bit of Drupal...and it's in bad terms with the agency. 我正在尝试管理一家代理商创建的Drupal网站,但我一点儿也不了解Drupal ...而且这与代理商的关系不佳。

The question is : how to manage the display of the rss.xml files. 问题是:如何管理rss.xml文件的显示。

For example, people can add event on the website with one place : 例如,人们可以将事件添加到网站的一个位置:

"ThePlace" and one title "DjTitle".

Actually it will be like that in the rss feed : 实际上,它就像在rss feed中那样:

Details of place : "ThePlace"
Details of title : "DjTitle"

and i would like something like : 我想要一些东西:

Tonight, "DjTitle" play in "ThePlace"

I looked in Administration > RSS Feed but nothing like that... I doesn't seem to be a view The aggregator module seem to be deactivate... I found some clue in modules/nodes/node.module but nothing solid... 我查看了“管理”>“ RSS提要”,但没有类似的内容……我似乎不是一个视图。聚合器模块似乎已停用……我在modules / nodes / node.module中找到了一些线索,但没有任何根据。 。

If you need to see some files, please tell me and i'll update but i don't know where to look anymore ! 如果您需要查看一些文件,请告诉我,我会进行更新,但我不知道在哪里查找了!

Thanks a lot ! 非常感谢 !

You can create a view and build the RSS feeds in the way you want. 您可以按照自己的方式创建视图并构建RSS feed。 To alter the default RSS, you may have to do some customization in a custom module or two! 要更改默认的RSS,您可能必须在一个或两个自定义模块中进行一些自定义!

What you're describing sounds like a Custom View with Taxonomy setup. 您所描述的内容听起来像是带有分类法设置的自定义视图。 First, you'll want to check the /var/www/html/sites folder. 首先,您需要检查/ var / www / html / sites文件夹。 This folder should contain /all and /default. 此文件夹应包含/ all和/ default。 If there are additional folders here, your site may be configured for "multi-site." 如果此处还有其他文件夹,则您的站点可能配置为“多站点”。 If your site is not a multi-site configuration, look in /var/www/html/sites/all/themes folder. 如果您的站点不是多站点配置,请查看/ var / www / html / sites / all / themes文件夹。 If your site IS a multi-site configuration, look in /var/www/html/sites/yoursite/themes (where yoursite = a folder name in /var/www/html/sites). 如果您的站点是多站点配置,请查看/ var / www / html / sites / yoursite / themes(其中yoursite = / var / www / html / sites中的文件夹名称)。

If you're not sure what theme your site is using, login to your Drupal site with the admin account to view the Administration interface. 如果不确定您的网站使用的主题,请使用管理员帐户登录到Drupal网站以查看管理界面。 Check out the Appearance section. 查看外观部分。 The theme listed at the top is your current default theme. 顶部列出的主题是您当前的默认主题。 The folders in /var/www/html/sites/all/themes/ will correspond to the Themes showing under Appearance. / var / www / html / sites / all / themes /中的文件夹将与外观下显示的主题相对应。

Once you have identified your Themes, you'll need to find the template files utilized by the RSS feed. 确定主题后,您需要找到RSS feed所使用的模板文件。 The naming of these files will vary depending on the way the feed was setup. 这些文件的命名将根据Feed的设置方式而有所不同。 Most commonly, RSS feeds are adjusted via views-view-ros-rss.tpl.php OR views-view-rss.tpl.php. 最常见的是,RSS提要通过views-view-ros-rss.tpl.php或views-view-rss.tpl.php进行调整。 You can learn more from any of the many tutorials out there on customized RSS themes for Drupal . 您可以从有关Drupal的自定义RSS主题的众多教程中了解更多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM