Ways to Run a Feed
There are several methods available to run a feed.
To Run a Feed Manually
To manually operate a feed, you must first click the Marketing header on the left side of the page, then select the Feeds tab. In the list, select a feed and click on the Process Now button.
To Run a Feed Through a Scheduled Task
To automate the process, you can set up a Scheduled Task. Detailed instructions on how to do this can be found here.
Note: The linked content is specific to Miva 9, but the basic process remains the same in Miva 10.
Associating a Feed with a URI
For an alternative method, feeds can be run when someone visits a specific URI. This method is primarily used when you want to transfer the information from the feed to an external program.
Use Case: Associating a Feed with a URI
1. Create a Feed. 2. Associate the created feed with a URI. 3. Upon visiting the associated URI, Miva admin operates the feed, displaying the feed's information on the browser page. This method is typically used when you have, for example, accounting software that needs to be updated with new product information from your store. You can create the URI feed in the admin interface, then develop a program that periodically visits the URI, generates feed data, and downloads this data to a location on your network where your accounting software can access it. The benefit of this URI feed ability is that it allows you to control feed generation via an external application. The external program can retrieve current feed data from your Miva store whenever necessary. There are two methods to associate a feed with a URI:
Method 1
1. Create a template feed as shown in this document. Note: only template feeds can be associated with a URI, but not XML Sitemap feeds (Standard Sitemap Protocol feeds). 2. During feed creation, ensure the 'Enable URI Access' option is checked. For added security, consider using the 'URI Access Key' field to password-protect the URI. 3. Return to the 'Feeds' tab and select the template feed you want to associate. Click on the URIs button. 4. In the 'Feed URIs' box, hit the Add URI button. 5. Select 'Normal' for the 'Type' field and fill in the 'URI' column with your chosen URI, making sure to start with a forward slash. Note that the URI cannot contain spaces. 6. Click the Save button then the Close button. To generate the URI feed, navigate to the URI: * Our sample domain: http://www.miva_sample_store.com * Our sample feed: /my_feed * Our sample URI Access Key: test If you used a URI Access Key, generate the feed by browsing to: http://www.miva_sample_store.com/my_feed?Feed_AccessKey=test If you did not use an access key, browse to: http://www.miva_sample_store.com/my_feed
Method 2
1. Create a template feed as shown in this document. Note: only template feeds can be associated with a URI, but not XML Sitemap feeds (Standard Sitemap Protocol feeds). 2. During feed creation, ensure the 'Enable URI Access' option is checked. For added security, consider using the 'URI Access Key' field to password-protect the URI. 3. Click on the Settings icon in the lower left corner of the page, then select URI Management. Once there, click the URIs tab. 4. Hit Add URI. 5. Fill in the 'URI' column with your chosen URI, starting with a forward slash. Note that the URI cannot contain spaces. 6. Select the store where you want to place the URI in the 'Store' field. 7. Select 'Feed' in the 'Destination' field, then click the Lookup icon to open the 'Feed Lookup' dialog box. Select the correct template feed, then click OK. 8. Select 'Normal' for the 'Type' field. 9. Click the Add button. To generate the URI feed, navigate to the URI: * Our sample domain: http://www.miva_sample_store.com * Our sample feed: /my_feed * Our sample URI Access Key: test If you used a URI Access Key, generate the feed by browsing to: http://www.miva_sample_store.com/my_feed?Feed_AccessKey=test If you did not use an access key, browse to: http://www.miva_sample_store.com/my_feed