Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Where to find other store fields (/showthread.php?t=3647)

patagonia January 14th, 2011 11:25 AM

Where to find other store fields
 
Eric, I want to output the website/blog name in the title tag. I see, as per below, that there is a category.name. What is the value for the blog name? Blog.name???

PHP Code:

<title>[category.name] | </title>
<
meta name="description" content="[category.description]" />
<
meta name="keywords" content="[category.keywords]" />&#8203; 

Is there a list of these anywhere?
I see in the documentation all the product fields at http://www.datafeedr.com/docs/item/168, but can not see the rest of the list for category fields, shop fields etc.

patagonia January 14th, 2011 11:40 AM

Through some digging, I found the category tag list in one of the views. Can you add these to the documentation please, along with any others?

Should I just type the blog title in as php? like so:

PHP Code:

<?php bloginfo('name'); ?>

Or is there a datafeedr tag to do this? Or does it not matter!

Eric January 14th, 2011 12:36 PM

It's best to use core WP functions when you can. We're not going to document all of WP's functions. Those are documented here: http://codex.wordpress.org/Function_Reference

We will be documenting all of the Datafeedr variables you have access to as we go along. We sacrificed having a complete documentation for getting V3 out. :)

I would suggest doing this: <?php echo get_bloginfo('name'); ?>

ayorofrance January 15th, 2011 01:30 PM

Hi Eric,

Was the blog name left out deliberately from the title?

Cheers,

Anders

Eric January 15th, 2011 01:51 PM

Yes, because a lot of themes stick the blog name at the end of the <title> tags anyway. I based all default settings off of WP's official default theme. In the default theme (twentyten), the blog name is appended to the end of the titles and this kind of stuff can easily be tweaked in your theme's header.php and not in the Views area of the Factory.


All times are GMT -5. The time now is 01:09 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.