Questions tagged [feeds]

Use it for questions about feeds and the Feeds module.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 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
1answer
17 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 ...
-3
votes
1answer
100 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 ...
-1
votes
0answers
18 views

Link another database via Feed Import

I would like to know the following: I have a database where the drupal is and another database that contains other information, which is in MS Access, where I linked your database in MYPHPAdmin. I don'...
0
votes
1answer
33 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
1answer
31 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
0answers
12 views

Unable to get Log messages from feed object

I am trying to get the feed error log messages by using below code: /** * fedd After Import result. */ public function afterImport(ImportFinishedEvent $event) { $msg_obj = $event->...
0
votes
0answers
31 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
2answers
48 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&...
0
votes
1answer
28 views

Using feeds_ex to import content to drupal using 2 steps API calls

I am trying to import data to Drupal 8 website using Feeds and Feeds_ex module and here is my scenario: I need to make a call to the first JSON API and extract the IDs from it, here is a sample of ...
0
votes
2answers
24 views

How do i dynamically import changing feed links within a feed

I am uncertain how to approach this. I have a feed with housing cases that is changing constantly. The feed consists of a case number and a feed link to that particular house. Each house has so much ...
2
votes
1answer
64 views

How do I add validation in the node processor before creating a node?

I'm using Feeds import module, after importing CSV file, if a row doesn't match content type validation the feeds import saves that node with empty space in that field. Question: Now i want ...
0
votes
0answers
21 views

Locking value of a field once created

I've been using the Feeds module to create/update some of my content types. I was wondering if there is a way to "lock" the value of a field once it is created. I've searched for a module called: ...
0
votes
0answers
19 views

How do I avoid the Aggregator module from sorting feeds by timestamp?

It seems like the Aggregator module automatically sorts feeds by the timestamp. Is there a way to get rid of that option? The feed I'm using is already sorted; the sorting by timestamp messes it up. ...
0
votes
0answers
36 views

How to parse JSON feed from a d8 into another d8 site using Feeds Migrate Module

This is the JSON output from a view using REST export [ { "spotlight-title": "Spotlight 3", "spotlight-body": "<p>This is spotlight 3</p>" }, { "spotlight-title": "...
0
votes
0answers
25 views

How to use oauth2 authorization in feeds importer?

I did it the postman like the following steps In the authorization tab, I selected OAuth 2.0 as Type. Then clicked on get new access token. I selected grant type as Client Credentials. Added access ...
0
votes
0answers
26 views

How can I stop a feeds import process?

I created a csv Feed that would create new content. I uploaded the csv file and started an import job. Unfortunately, the csv file had some headers that did not quite match those defined in the Feed....
0
votes
1answer
14 views

How do I map attachments submitted via mailhandler?

In Drupal-7 I'm reading an imap mailbox with mailhandler. I have the mapping setup via feeds. This processes text messages creating a node but messages with attachments don't have the attachments ...
0
votes
0answers
41 views

How to remove below part from top of XML?

i have created a view for XML feeds. But when I access the link for feeds it gives me below debug info at top of xml feeds: <!-- THEME DEBUG --> <!-- CALL: theme('views_view_views_rss') --&...
0
votes
0answers
37 views

Parse nested img in <content:encoded> with XPath Parser

I am using Feeds and Feeds XPath Parser. I have an XML source like this. <item> <description> MYdescription </description> <content:encoded> <!...
0
votes
1answer
26 views

Run feeds importer crons one after another

I have two feeds importers. I wanted to run the 2nd importer when the first is finished. I have written a cronapi hook for those two importers. /** * Implements hook_cronapi(). */ function ...
0
votes
0answers
33 views

How can I set the ics file name as the event title?

I have created a feeds view for the ical file. The format is iCal feeds. The path is something like this /node/%/event.ics When I download the file, the file name is event.ics. Can I set it to ...
0
votes
1answer
24 views

Feeds: How to import content from multiple xml files

I have around 100 xml files. Each xml file contains a single item. I have created a feeds importer which is working fine for single xml file. But I don't know if feeds can work with multiple xml ...
0
votes
0answers
11 views

Only import Feeds item if EITHER of two fields have values

I am using the Feeds module on D7 to import some jobs into my Drupal instance. I also have the Feeds Tamper module installed to clean up the data and make sure certain fields have data in them before ...
0
votes
0answers
19 views

Feed importers: How to import JSON data into a node's field while keeping it formatted as JSON

I'm using Feeds, Feeds Extensible Parsers and the jsonPath Parser to import several thousand items into a D7 site. Each item creates a corresponding Node. The values of most of the JSON key:value ...
0
votes
0answers
18 views

JSONPath Feed Import looks right but not creating nodes?

Using a Feed Importer with the JSONPath parser, I'm stumped as to how I can import the JSON objects as nodes with mapped fields. Here's the JSON that gets returned: [ [ "Label", "...
0
votes
1answer
62 views

How do I get the base URL from the feed content?

Basically, I'm using the Aggregator module to import content from an RSS feed. The content is just a bunch of articles. I display this content in a view. This is my current output, it shows the title ...
0
votes
1answer
32 views

How do I populate fields in content type not in feed when importing?

I have a content type that contains a couple of required fields that do not have a mapping counterpart in the csv feed. When I import the csv feed, the process fails because of the required fields. ...
2
votes
0answers
45 views

how to update FieldStorageDefinition in a hook update?

This is a feeds module related issue. An entity update that started to cause errors on 8.7.x after the removal of automatic entity update. Originally an entity definition needed to be updated using ...
0
votes
1answer
50 views

How do I skip importing a duplicate item?

I use unique field mapping, but instead of blocking the import on duplicates from CSV, it overwrites the data in Drupal and inserts the new value from the CSV file. This is the default behavior with ...
0
votes
0answers
17 views

Override imported data on node creation

I would like to transform some data I am getting from an RSS feed. I get a set of items and create nodes using the data I get, so far so good. However, some of the data fields contain relative URLs, ...
0
votes
0answers
6 views

Using views_xml_backend to display an RSS feed with HTML?

The RSS feed has the description field with encoded HTML in it. How do I un-encode the HTML. enable views_xml_backend Create a view of type XML In the view under advanced edit the query parameters ...
0
votes
0answers
17 views

Feed importer and Elysia Cron not executing feed

I am using Feeds module with importer to create nodes. I have scheduled Elysia cron to run the feeds cron and job_scheduler_cron every 15 minutes. But currently it looks like the feeds cron is not ...
0
votes
0answers
15 views

How to import data from multiple urls using feeds importer?

I have two api urls. One returns all the products with product ids and the 2nd url return detail about a single product using the product id. So my requirements are. Request the first url, Get the ...
0
votes
0answers
33 views

How can I display/filter RSS 2.0 <item> Element <category>

I would like to display (and filter) in an aggregation item view the RSS Element , but it does not show as field. How can I included this rss-tag?
0
votes
0answers
38 views

How to map key value pair xml data in feeds mapping

I have a xml data like this. In feeds_ex how can I map the metadata key value pair to content type fields target. What to write in new xpath source.
0
votes
1answer
131 views

Import data with feeds that is not in the source file

I need support to set a field on a feeds mapping that is not in the source. I already have some code that for some reason is not working. If I use hook_feeds_after_parse, I can set the value but I ...
0
votes
0answers
42 views

Get Node from link

Within the mymodule_preprocess_views_view_row_rss(&$variables) hook, we are able to get the link by using $variables['row']->link. However, we are not able to access the node for which that ...
0
votes
1answer
689 views

Add image to RSS Feed

We are using the Feed Display for a view where we want to display all Articles in a rss.xml file. Below are the View settings. However, we cannot find a way to add an image attribute that meeting the ...
1
vote
0answers
169 views

Custom feeds plugin not discovered [closed]

I am trying to create/work on an Address target plugin for the Feeds module. I have tried applying this Address target patch (shown below) from this related issue. However, the Address field on the ...
0
votes
1answer
64 views

I have 2 commerce feeds imports, one must run before the other

I have a drupal 7 commerce site, each day our client uploads a .csv with updates to approx. 4000 products, including published status. 2 imports have been configured, 1 to update the product ...
1
vote
2answers
290 views

Change Entity Value In hook_feeds_presave()

I am trying to modify data coming from a feed before it saved to a node by using hook_feeds_presave(). I have code that looks like this: my_module_feeds_presave(FeedsSource $source, $entity, $item) {...
0
votes
1answer
273 views

Import images from RSS with Feeds module without Feeds Image Grabber

I'm passing all the sites from D7 to D8 and so far so good. But one of my sites gives me a couple of problems. I was populating the RSS site in Drupal 7 using Feeds Image Grabber. Now, Feeds Image ...
1
vote
1answer
281 views

How to programmatically alter feed item values before saving

Feeds Tamper does this job, which allows me to "tamper" with feed items' values before saving it to an entity. My question is how can I do that programmatically in Drupal 8 with a custom module.
2
votes
1answer
29 views

Feeds importer imports only some of the nodes

In D7.59 I have to import .csv file and there are all the mappings prepared for that. The file has 500 records, that will become nodes of a content type "record". There are no nodes of this content ...
1
vote
1answer
68 views

access denied feed/[id]/import for a feed item

I am dealing with an older d8 site that has a feed item of a custom type with custom processor. When I go to admin/content/feed and click on an existing one and I go to feed/id/import I get access ...
0
votes
1answer
491 views

How do I properly add a custom source for RSS feed import?

I am setting up the mappings for a Feed entity, but I cannot figure out how to properly set custom sources for fields. In this case, I am grabbing records from an XML document ("RSS/Atom" option) and ...
0
votes
1answer
24 views

My content type has a string of words, how do I make them tags?

I am very new to drupal. I currently have a content type called 'Issue', which has a plain text field containing something like "money, houses, pigs". How can I look at that string and turn each word ...
0
votes
1answer
34 views

Force Creation of New Node With hook_feeds_presave Rather Than Node Update

I want to have very specific control over the node update process for Feeds. Using hook_feeds_presave() I can stop a node from being updated with $entity->feeds_item->skip = TRUE; but how can I ...
0
votes
1answer
598 views

Adding RSS feed view

I was trying to add a RSS feed view in Drupal 8. I selected feed row style for Fields, and clicked on Save and edit, but I got this message. Row style plugin requires specifying which views fields ...

1 2 3 4 5 18