Questions tagged [feeds]

Use it for questions about feeds and the Feeds module.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 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
22 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
63 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
18 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
25 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
21 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
21 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
13 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
37 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
31 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
24 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
28 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
18 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
17 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", "...
1
vote
1answer
57 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
26 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
39 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
44 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
14 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
14 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
31 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
31 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
125 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
40 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
541 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
148 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
57 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
240 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
246 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 ...
0
votes
1answer
247 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.
0
votes
0answers
22 views

How to import Meta description based on URL via Feeds module?

I am having a large sheet (excel file) with URL's and Meta Description next to them. I want to import them via Feeds module so I do not have to open, write, save and close hundreds of pages manually. ...
2
votes
1answer
26 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
62 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
464 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
33 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
474 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 ...
3
votes
0answers
129 views

How to set the correct RSS row plugin?

I need to add an image to the RSS feed. So I create a new row plugin for the RSS and it extends RssFields row plugin. /** * Renders an RSS item based on fields. * * @ViewsRow( * id = "...
0
votes
1answer
109 views

how to add cache tag in custom rss feed

how to add cache tag in custom RSS feed in Drupal 8 I have tried like this use Symfony\Component\HttpFoundation\Response; $response = new Response(); $xml_content = '<?xml version="1....
0
votes
1answer
55 views

Feeds remove item with certainly conditions [closed]

Good day I have a problem with the side of developer with certainly conditions i need remove a item from source. for example i have in source nid and phone1 and phone2 but if phone2 is the same ...
0
votes
1answer
161 views

Add custom text as a label in front of RSS feed icon

I want to change the label from "Subscribe to News" to "Subscribe to News Feed" displayed with RSS icon in drupal8. Also I need to open a popup window on clicking icon. Attaching the screenshot: Any ...
0
votes
1answer
34 views

How to install required packages for feeds spreadsheet module as shown required by Composer Manager?

Modules being used Composer Manager Feeds Spreadsheet Requirement I need to install the package as mentioned in the configuration page of module composer manager. The error shown is as given below. ...
0
votes
0answers
348 views

Feeds module import csv: problem with mapping

I've been trying to import data from a .csv file into my content type but have found some trouble mapping the headers of the csv file to fields. How do you map a field to a header (since I'm not ...
0
votes
1answer
16 views

Method to test if site has rss view

Our group has a multi-site drupal-D7 installation -- approximately 70 sites -- we need to identify which site have an RSS view. I've been trying to find a signature in the databases' that we could ...
0
votes
1answer
385 views

Import date field with feeds

I have a csv with a Date field that contains the date in one of the following formats: dd/mm/yy (ex. 13/11/04) dd/mm/yyyy (ex. 13/11/2004) I need to import these dates to my field in the format dd-...