Try our new AI assistant by clicking the chat icon in the lower right corner.


Feeds - Ways to Run a Feed

There are several ways to run a feed.

On this Page

To Run a Feed Manually

To run a feed manually, click the Marketing header on the left side of the page, and then click the Feeds tab.

Alt text here

Once there, click a feed in the list and then click Process Now.

To Run a Feed From a Scheduled Task

To set up a Scheduled Task to run a feed, you can follow the instructions here.

Note

The above link takes you to content specific to Miva 9, however, the basic process is the same in Miva 10.

Associating a Feed with a URI

You can also create a feed that is run when someone visits a specific URI. You would probably only create this type of feed if you wanted to transfer the information from the feed to some external program.

Use Case: Associating a Feed with a URI

1. Create a Feed.

2. Associate the feed with a URI.

3. When someone visits that URI, the Miva admin runs the feed and dumps the feed information into the browser page.

The “someone” visiting the webpage is usually a script or a program. You might have accounting software that needs to have updated information about new products in your store.

You would first create the URI feed in the admin interface, then write a program that would periodically go to the URI, generate the feed data, and then download that data to some location on your network, where your accounting software could get it.

The important thing about the URI feed ability, is it lets you place feed generation under the control of an external application. The external program can get the latest feed data from your Miva store whenever it wants.

There are two methods to associate a feed with a URI.

Method 1

First, create a template feed as shown in this document.

Note

You can only associate a template feed with a URI. You cannot associate an XML Sitemap feed (Standard Sitemap Protocol feed) with a URI.

As you create the feed, make sure the checkbox next to Enable URI Access is checked. You may also want to password protect the URI with the URI Access Key field.

Alt text here

Then, go back to the Feeds tab and select the template feed you want to work with. Then click URIs.

Alt text here

In the Feed URIs box, click the Add URI button.

Alt text here

The Type field isn’t all that important, so just select Normal.

In the URI column, enter a URI, starting with a forward slash.

Alt text here

Note

There are some limits on the characters you can enter in this field. For example, the URI cannot contain spaces. But other than that, the URI can be almost anything you want.

Click the Save button, then click Close.

So then to generate the URI feed, you (or your program) will navigate to the URI:

If you used a URI Access Key, you could generate the feed by browsing to: http://www.miva_sample_store.com/my_feed?Feed_AccessKey=test

If you didn’t use an access key, you would browse to: http://www.miva_sample_store.com/my_feed

Method 2

First, create a template feed as shown in this document.

Note

You can only associate a template feed with a URI. You cannot associate an XML Sitemap feed (Standard Sitemap Protocol feed) with a URI.

As you create the feed, make sure the checkbox next to Enable URI Access is checked. You may also want to password protect the URI with the URI Access Key field.

Next, click the Settings icon header in the lower left corner of the page, then click URI Management. Once there, click the URIs tab.

Click Add URI.

In the URI column, enter a URI, starting with a forward slash.

Alt text here

Note

There are some limits on the characters you can enter in this field. For example, the URI cannot contain spaces. But other than that, the URI can be almost anything you want.

In the Store field, select the store where you want to create the URI.

In the Destination field, select Feed, then click the Lookup icon to open the Feed Lookup dialog box. Select the correct template feed from the box, then click OK.

Alt text here

The Type field isn’t all that important, so just select Normal.

Click the Add button.

So then to generate the URI feed, you (or your program) will navigate to the URI:

If you used a URI Access Key, you could generate the feed by browsing to: http://www.miva_sample_store.com/my_feed?Feed_AccessKey=test

If you didn’t use an access key, you would browse to: http://www.miva_sample_store.com/my_feed

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2021 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.