Questions tagged as ['feeds']
I have GeoJSON feed, created with a view in Drupal 7, that I want to filter on a path value in the url of the loaded page (/path/%). The feed is loaded as an Openlayers map on a page. The feed seem to work with its own feed-url and is not aware of the site url. Contextual filters in the view don't work either. I can use hook_views_query_alter or hook_views_pre_view. But I don't know how to bring the val ...

I understand that Drupal 9 out of box is very capable as a decoupled aka headless Drupal serves as a back-end for other apps (the core REST, JSONAPI capability).
However, I am thinking about the reverse way: having Drupal 9 as a pure presentation layer that pulls and displays data from various external micro-service APIs. For example, an external API outputs a product list JSON and a Drupal page ...
I have an D9 site for a villa that can be rented. To show availability, I import the iCal calendar of bookings from a booking site, using the Feeds and Feeds iCal modules (the last one I updated the .info so it works in D9).
The import works fine, it collects the .ics file at regular intervals, turns each into a node, and I display all booking-nodes through Fullcalendar View. So far brilliant.
The booki ...
I've created a Feed display using a view in Drupal 8. Up at the top of the feed results I see this:
<channel>
<title>My Title</title>
<link>https://www.mydomain.com/</link>
<description></description>
<language>en</language>
How do I change the <link>
value?

I want to force all content to be created using my primary site theme. I want to do this because I am using a renderer in MYMODULE_node_presave()
like this:
function MYMODULE_node_presave(NodeInterface $node) {
$renderer = \Drupal::service('renderer');
$content_type = $node->getType();
if ($content_type == 'page') {
$viewmode_render = $node->get('field_text_main_to_render')
->vi ...
I am using feeds and feeds_ex modules, and JSON Path parser to import data from the endpoint. Here is imported data:
{
"products": [
{
"id": 103839858696,
"title": "\"Apt to get all Opportunities\": White Pennsylvania Runaways, 1750-1762",
"tags": "gpc used book, used book",
"image": {
"id": 554766794760,
...

For some reason my feeds event subscribers have just stopped working.
My code looks like this, the dpm for debugging never gets fired so I think the function isn't being run.
I can't work out what's changed.
namespace Drupal\partshub_feeds_modifications\EventSubscriber;
use Drupal\feeds\Event\EntityEvent;
use Drupal\feeds\Event\FeedsEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface ...
I am using Feeds import module with Feeds extensible parsers module, I am getting following error. I am not getting what is wrong with the json and settings. Can anyone help me to resolve this issue.
Thanks in advance,
My json look like,
[ { "lcia_id": , "name": "", "company_name": "", "company_id": , "net_weight": , "country": "", "address": "--", "serving_size": "-", "composition": [], "type": "", ...

I have a site with a lot of audio files (using core's Media audio media type).
On the Manage form display admin page (/admin/structure/media/manage/audio/form-fields
), I have set the Name field to Disabled.
This way, when I add a media audio entity in the UI (at /media/add/audio
), then I don't have to add the title, and the entity name will automatically be set to the file name.
Now I want to autom ...