Implementing WebSockets in Rust
Recently, I needed WebSockets in my side project. I will share how I implemented it, what I learned.
Product images is the important thing in this feed importer. Product images is an image field.
Here is the CSV importer:
"SKU";"Title";"Description";"Brief Description";"Taxonomy Terms";"Product Selection";"Product Images"
"IMPORTED-PRODUCT-1";"Imported product display one";"This is an imported product one. This is an imported product one.";"This is an imported product one";"Clothing";"IMPORTED-PRODUCT-1";"http://mysite.local/sites/default/files/_MG_4933-s.jpg"
If you have already uploaded the image to the server then you can import data using the CSV.
This was about importing images using feeds. Suppose, the field accepts multiple images and you want to import multiple images using the importer, then you can use feeds tamper module for this. Look at the feeds tamper configuration for the images field:
You can change the exploding character to anything else, but make sure the character is unique and is not present in the URL of image.
Here is the CSV importer for importing multiple images:
"SKU";"Title";"Description";"Brief Description";"Taxonomy Terms";"Product Selection";"Product Images"
"IMPORTED-PRODUCT-1";"Imported product display one";"This is an imported product one. This is an imported product one.";"This is an imported product one";"Clothing~Jackets";"IMPORTED-PRODUCT-1";"http://mysite.local/sites/default/files/compressed/_MG_4933-s.jpg~http://mysite.local/sites/default/files/compressed/_MG_4934-s.jpg"
I hope everything is clear. Good luck :)
Leave a Comment