Questions tagged [feeds]
Use it for questions about feeds and the Feeds module.
884
questions
0
votes
0
answers
48
views
How to avoid character encoding exceptions that occur when importing CSV data in to MS SQL server?
When I try to import CSV data into my feed, I get errors like this:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[IMSSP]: An
error occurred translating string for input param 3 to UCS-2: No
...
0
votes
0
answers
14
views
Rango de fechas: this field cannot hold more than 1 values when I try to sync content to a node with a date range field
I'm working with Feeds to sync content from a JsonAPI resource.
Everything works fine except the date range field.
I get dates like this from the source:
0 => "2023-10-27T00:00:00"
1 =&...
0
votes
0
answers
17
views
Valid date formats for synchronizing unpublish dates
I'm using Feeds to synchronize content. One of the fields I'm trying to sync is the node's unpublish date (we use Scheduler). I've configured the field as a Blank source because I need to manipulate ...
0
votes
0
answers
22
views
Composer cannot install Feeds Extensible Parsers?
I'm trying to install the feeds extensible parser module using Composer but the following error keeps showing up.
Problem 1
- Root composer.json requires drupal/feeds_ex, it could not be found in any ...
0
votes
0
answers
40
views
How to import unknown number of images with drupal feeds from xml file?
I am trying to import a gallery of images for a specific content type. The XML file looks like this:
<img1>
https://xml.....
</img1>
<img2>
https://xml.....
</img2>
<...
0
votes
1
answer
123
views
Why does core create RSS feeds for taxonomy terms?
Drupal 9.5.8 standard installation; I never did anything about RSS feeds in that website.
In Google Search Console, under Crawled - currently not indexed section, I was surprised to come across this ...
2
votes
1
answer
105
views
Feeds Documentation for importing data programatically [duplicate]
Team,
I need a help.
I was surfing internet, but couldn't get a luck to get a working example/documentation to import data programmatically and store into our custom tables.
I'm using Drupal 9 version ...
-2
votes
1
answer
111
views
Feeds: import content from CSV url list with QueryPath or alternative to find image or body in external HTML
The situation:
Partner provides us with relatively simple CSV that only has title and url to article with permission to use images or body of that article, but... "not a tech person, no idea how ...
0
votes
1
answer
27
views
How can I use Feeds to import flaggings with Flag 4.x?
I'm trying to set up the Feeds module to import flaggings with the Flag module on Drupal 9. However, I keep getting errors. What is the minimum necessary configuration to import flaggings?
0
votes
1
answer
29
views
How do I import/add terms to content without removing the existing ones?
currently when importing term with feeds all the existing term of of a content are removed and then the terms are imported.
Is there a way to add terms during an import and keep the existing ones?
0
votes
1
answer
78
views
How can Commerce Stores be imported with Feeds?
I'm trying to set up a feed to import Commerce store entities.
I installed the Feeds module and the Commerce Feeds module.
I then created a CSV file feed with the following mappings:
Name: The store ...
0
votes
1
answer
221
views
How do I import user roles with feeds?
I created a CSV file with a column "Roles" and values like role_a, role_b, where role_a is the machine name of the role.
However, when I try to import the role in my feed, I get an error ...
1
vote
2
answers
280
views
How do I use Feeds Tamper to process multiple CSV columns into a single field?
I have a CSV file that I import into my site using Feeds Tamper.
The CSV file has columns like
URL path
Favorite vegetable
Favorite fruit
Favorite pasta
In Drupal, my content type has a JSON Field, ...
0
votes
0
answers
397
views
Customize RSS feed
I'm trying to create a RSS feed with 3 news items and one custom item. This custom item needs to be build manually. I want something like this.
<?xml version="1.0" encoding="UTF-8&...
-2
votes
1
answer
40
views
How to implement a social media feed [closed]
I am creating a social media app and basically need a page that is a form with fields for the users to fill out and add a new post to their feed (form connects to the feed).
More detail:
The form ...
-1
votes
1
answer
32
views
How do I combine terms in Drupal feeds?
For example if I had 2 rows with people in them
uid | favourite colour
----------------------
3 | Blue
3 | Yellow
And I wanted the result to have both Blue and Yellow selected at the end. Is ...
2
votes
0
answers
192
views
How can I change the format used for <pubDate>?
I'm using Drupal 9 to display a RSS feed with the Aggregator module. For the imported items, the date for <pubDate>Wed, 24 Nov 2021 20:05:46 +0000</pubDate> is showed as 2 months 3 weeks ...
-1
votes
1
answer
51
views
How to add a new field in a feed AfterParseBase?
Parsing a CSV file, and the goal is to take an input column and turn it into two Drupal fields. The last 3 characters of the BondId field becomes a new field called TrancheId.
The BondID field looks ...
0
votes
1
answer
154
views
Why is the Aggregator module not creating a block
I am using the Aggregator module that is part of Drupal 9 core. I am following the docs on drupal.org: https://www.drupal.org/docs/8/core/modules/aggregator/overview
After I create a feed and update ...
1
vote
0
answers
33
views
Filter GeoJSON feed on a value in the path
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 ...
0
votes
1
answer
143
views
Decoupled site as a presentation (display) layer for external microservices?
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 ...
0
votes
1
answer
54
views
Specify the theme when creating content / importing content via Feeds
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(...
0
votes
1
answer
217
views
Feeds event subscriber stopped working
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 ...
-1
votes
1
answer
186
views
How to import Json file from Feeds module
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.
...
0
votes
3
answers
67
views
How do I automatically add a title to imported entities?
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 ...
0
votes
1
answer
411
views
How to create an RSS or Atom Feed in Drupal (source)?
I have a website with Drupal 8 CMS and I have a second website without CMS.
I want to create an RSS or Atom Feed on my Drupal site (this will be the source).
I want to display the RSS or Atom Feed on ...
0
votes
0
answers
216
views
Feeds import: Country field not appearing in Target options
Working in Drupal8.
I have configured Feeds module in my build.
I have a content type with "Country" field ["Country" contributed module https://www.drupal.org/project/country].
...
0
votes
1
answer
77
views
How to create a protected RSS feed
We are planning to provide an RSS feed (from a Drupal site) to someone who is going to display it on their site. Is there a way to limit access to only this specific site or maybe provide an embed ...
0
votes
0
answers
31
views
Feeds not expiring records after update to alpha9
I run 3 Feeds multiple times daily. Has worked Flawlessly for years. When I updated using composer I now noticed that when importing, the 'Expiring' process never happens. of the 469 records all ...
0
votes
0
answers
44
views
Feeds not recognizing CSV Title Rows
I am trying to use Feeds to import/update content types, but it appears that it's not recognizing my mapping as I keep getting the error Integrity constraint violation: 1048 Column 'title' cannot be ...
0
votes
0
answers
304
views
How can I display individual feed item images that are defined within an RSS feed (media:content tag) using Aggregator?
I'm fairly new to Drupal and as such would appreciate a bit of patience if I get lost in any in-depth explanations. :)
Currently running Drupal 8.9.7. I've been trying to get the Aggregator module to ...
0
votes
1
answer
46
views
Import data using ECK and feeds module
Is it possible to import data from CSV file and insert all in two different entities
for example I have created two different entities, cadidates and exams entities, once I import data to exam entity ...
0
votes
1
answer
94
views
Is there a NULL value for a multi-value list?
I have a list that accepts 5 different values, but some things on my spreadsheet are empty, meaning its none of the 5 things. However during the feeds import, it is saying my empty field is not a ...
0
votes
0
answers
428
views
Using Feeds, how to import D7 files and images into a D8 media field
Looking for a method for importing D7 files and images with multiple values into a D8 media field. Any recommendations out there?
The official Feeds issue doesn't have much activity and seems to have ...
0
votes
1
answer
156
views
How do I make multilangual content synchronization between two sites?
I'm trying to figure out how to synchronize content between 2 sites. Before migration to D8 I was using views data export on site1, and feeds import on site2. My problem is, that in D8 I'm not able to ...
0
votes
0
answers
154
views
Single Image field importing as Multiple Values
I've created a CSV feed via Views Export that exports out data for a content type. I'm then using Feeds to import that onto another Drupal site.
Everything except the images are working, when I run ...
0
votes
1
answer
260
views
Feeds file path to content type
I’m using feed module to import csv file. and the content type includes file field. I added the external file path in the csv file (file column). but It's not working.
Mapping includes:
Target:
...
0
votes
1
answer
34
views
Feeds Importer running multiple times
My feeds importer is acting very strange and running the same import multiple times..
This is what my importer looks like:
class FeedsASUNewCareer extends FeedsCSVParser {
/**
* Implements ...
0
votes
1
answer
252
views
Feeds Importer and cron not running
I have a Drupal 7 setup with a number of different content types, each with a common set of fields.
Each content type has its own feed, which calls a .csv that's produced from a Google Spreadsheet ...
0
votes
0
answers
153
views
How can I remove spaces in XML feeds?
I am working on creating the XML feeds for the contents of a specific content type. But after creating XML feeds, I noticed that the blank space is appearing at top of the XML feeds.
How can I remove ...
1
vote
0
answers
146
views
How do I set the path alias for nodes imported via RSS feed?
In Drupal 8, I have created nodes of article type using the Feeds module, using a RSS feed as source.
How can I create path aliases for each of the imported nodes?
I have tried to map source:'item ...
-1
votes
1
answer
222
views
XML parser selector skips mixed content in migration
I am trying to migrate and map the source fields of an external rss/xml file into Drupal.
I have built a custom module:
In config/install folder I have my yml file modules/custom/import_rss/config/...
0
votes
1
answer
132
views
Using Drupal 8 Feeds with Xpath parser, can I concatenate two attribute values that appear in a single tag?
I have a dataset content type and an xml structure like this:
<dataset>
<purpose>blah blah</purpose>
<abstract>blah blah</abstract>
<authors>blah blah1, ...
0
votes
0
answers
33
views
The dynamic value of the field, depending on the authorized user
Friends, hello. I ask for help, I can’t figure it out. I have the following task: There is a node type "product", it has a field "field_product_url". A link is imported into this field using the Feeds ...
0
votes
1
answer
39
views
Feeds import from Restful Web Service module output
I have a D7 website, which expose a node through the module Restful Web Service https://www.drupal.org/project/restws
It does exposed my website node in Json format. The only issue I have, is the ...
-2
votes
1
answer
805
views
How to import a million of nodes? Very slow import
I've been dealing with this problem for several days. I need to import around 1,600,000 nodes (one time). Everything is set correctly, but the speed is horrible.
Both on the shared server and on the ...
0
votes
1
answer
2k
views
How to access protected property in feed object?
When I try to access protected property in feed object I am getting error (Error: Cannot access protected property Drupal\feeds\State::$messages)
Feed Object:
Anybody know How to get protected ...
0
votes
1
answer
1k
views
Cron timeouts at 60 seconds, but all the related timeouts are set higher
We're getting 504 Gateway Timeouts on AWS from a Drupal 7 site at 60 seconds, but everything AFAIK is greater than that. The timeout is specifically during running the feeds_source_import in Ultimate ...
0
votes
0
answers
342
views
How to configure feeds module JSONpath mapping, when all information is on the same (root) level?
I would like to import content with feeds module with JSONPath extensible parser and create nodes of them.
When I have a hierachical JSON with a parent, the mapping is working like a charme (e.g. ...
1
vote
2
answers
247
views
How do I prevent my content's title from appearing in the <description> tag of my RSS feed?
I have a newly migrated Drupal 8 site and am noticing that the RSS feed displays the Title of a node twice in my feed reader. This is because a node's title is output both in the feed item's <title&...