10
votes
How do I hide the link to the RSS feed on the term page?
Under "Structure", "Views", open the "Taxonomy term" view, on the Feed display, under Feed settings set Attach to to none.
10
votes
Accepted
Import CSV to nodes/entities in Drupal 8 including a UI
I do this all the time, making use of migration configuration entities (provided by the migrate_plus module). Define a migration plugin in your migration module's config/install directory, using the ...
7
votes
Disable RSS feed
Drupal 7
For D7 simply use Disable RSS.
This module will disable the core RSS feed at
http://example.com/rss.xml, and remove any reference to it in the html
header.
Drupal 8
In D8 the feed ...
6
votes
Automatically import data from Google spreadsheet using feeds module
Sorry, bit late to the party. How I solved this was:
Publish the file to the web using the option in Google Sheets' file menu. This gets you a special link to an always up-to-date version with the ...
5
votes
Accepted
How to programmatically alter feed item values before saving
Thanks to No Sssweat, I managed to use an EventSubscriber using afterParse event to do this job.
File 1: mycustommodule/mycustommodule.services.yml
services:
mycustommodule.feeds_subscriber:
...
4
votes
Accepted
How to import multiple images with Feeds importer from CSV?
You can accomplish this with choosing a character to separate your image urls with in the CSV file and using the Feeds Tamper plugin "Explode".
Separate the image URLs in your CSV file with a certain ...
4
votes
Remove import instance from list using Migrate Tools module
So you want to get rid of the migrations so that they don't appear in the drush ms output? Do this:
Removing imported content
Upon reading your question the second time, I thought you might even be ...
3
votes
Accepted
Views: Link Title using Text URL field (GUID)
Assuming that you know the link and can construct it from the GUID field (either by some/text/[guid_field_machine_name]/maybe/more/text or just [guid_field_machine_name] or what have you):
Using the ...
3
votes
How to display an image in a Views RSS feed
First add the Media RSS namespace to your views-view-rss.tpl.php
<rss version="2.0" xml:base="<?php print $link; ?>"<?php print $namespaces; ?> xmlns:media="http://search.yahoo.com/...
3
votes
How to skip (don't update) some fields from existing node during import if this field already has a value?
Had the same problem. I finally used hook_feeds_presave(), and unset the field I wanted to skip. Here's the code:
function mymodule_feeds_presave (FeedsSource $source, $entity, $item, $entity_id) {
...
3
votes
Accepted
How can I set a Feeds Importer to accept multiple values for a field?
Have a look at feeds tamper.
Using the pipe symbol is alright. The next step would be to enable Feeds Tamper and chose to "Explode" the "Files" with the pipe character as separator.
3
votes
Accepted
RSS item elements not being not being read by XML Reader
After some research i did manage to find my way out:
I implemented hook_views_rss_namespaces to add a custom namespace and the custom items under the namespace:
function Mymodule_views_rss_namespaces(...
3
votes
Accepted
How can I avoid the feed link is printed in my theme?
If this is a view, you can hide the feed icon using this method.
Go to Structure > Views > Frontpage > Edit. Then click on "Feed" at the top. In the second drop-down box, select "Disable Feed." ...
3
votes
Accepted
How to import decimal fields using Feeds?
It could be that the there is an issue with how it's interpreting the value especially if you are in a non-English context. For example, in Drupal's terms if you have a decimal value it's formatted ...
3
votes
Accepted
How to generate an XML feed?
You can do it using the Views Data Export module (Most popular)
This module is designed to provide a way to export large amounts of
data from views. It provides a display plugin that can rendered
...
3
votes
how to add cache tag in custom rss feed
Add the cache tags to the cacheable metadata of a cacheable response:
use Drupal\Core\Cache\CacheableResponse;
$response = new CacheableResponse();
// ...
$response->getCacheableMetadata()-&...
3
votes
Adding RSS feed view
The error just means that the feed row style require fields, but the view being created doesn't have fields.
The error is confusing, since I can create a view like that and add a feed.
There are two ...
3
votes
Accepted
access denied feed/[id]/import for a feed item
Feeds locks a feed when you start an import from it. As soon as the import finishes, the feed gets unlocked again.
When a feed is in a locked state, you cannot initiate another import. Therefore feed/...
3
votes
Accepted
How do I use Feeds Tamper to process multiple CSV columns into a single field?
Ok, here's the correct way to do this.
getSource() will return an array with keys for all the CSV columns.
The column names are processed as follows:
single words: Capitalization is kept. (yellow, ...
3
votes
Accepted
Why does core create RSS feeds for taxonomy terms?
The Drupal 9 standard profile creates RSS feeds for taxonomy terms by default.
If you don't want the feeds, you can remove (delete or disable) them from the taxonomy term view in Admin -> Structure ...
2
votes
Approach to removing extra space at beginning of RSS file?
As JAmatulli said its mostly because someone left a space at very beginning in template or module or inc file
Here is another way of using grep to find the culprit. Mostly it is module file so...
...
2
votes
Cannot acquire lock for source node / 0
To release the lock, remove it from semaphore table, e.g.:
drush sqlq "DELETE FROM semaphore WHERE name LIKE 'feeds_source_%'"
If you got different error like:
The feed is currently importing.
...
2
votes
Accepted
Feeds tamper find and replace
So you'll need two tampers for that field. From the manual:
Find replace REGEX
Find and replace a user-specified string using REGEX with an option to limit the number of replacements. See the PHP ...
2
votes
Accepted
Passing the actual path in File Save Data
The issue was that the script was running from a subdirectory. Calling chdir(DRUPAL_ROOT) before file_save_data() fixed it.
2
votes
Accepted
Feeds: update nodes using a second import
To update existing content using feeds importer, you will have to mark Customer ID field as a Unique Key.
2
votes
Accepted
How to keep/access copy of original Feed file when using HTTP Fetcher?
I have a simple solution for you but in this time I have not enough time to test it by myself.
First find your importer form_id, then in your custom module add custom submit handler then get URL of ...
2
votes
Accepted
Custom field in XML with Views RSS module
You need to implement a hook_views_rss_item_elements() invocation if you're wanting to add a custom item element. For example:
/**
* Implements hook_views_rss_item_elements().
*/
function ...
2
votes
Not able to import images using feed image grabber module in content image field
Finally with a struggle for more than a day, I finally get succeeded in importing images in Drupal Content type.
I used Feed Image Grabber Module with feed but not works for me might be my image path ...
2
votes
How to create a CSV file to migrate my Commerce Products with the Feeds module?
You can use the Forena module. Here is a quote from that page:
... built of the idea of using SQL to get data out of a database and use XHTML and CSS to format it into web reports.
Here is another ...
2
votes
How can I set a Feeds Importer to accept multiple values for a field?
You need to use Feeds Tamper to take a single value and make it into an array. Examples: multiple columns to a single, multi-valued field or a whole node importer using it.
tl;dr - You're looking for ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
feeds × 8847 × 278
importing-exporting × 170
views × 115
8 × 65
entities × 61
nodes × 61
commerce × 49
taxonomy-terms × 35
6 × 29
media × 23
cron × 22
migrations × 21
theming × 20
files × 19
rules × 18
datetime × 14
users × 13
9 × 11
database × 10
i18n-l10n × 9
location × 9
social-network × 9
ubercart × 8
blocks × 7