Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
The value of static includes

 

 


Strani
User

Oct 30, 2006, 5:46 AM

Post #1 of 8 (1807 views)
Shortcut
The value of static includes Can't Post

Just a note to interactivetools:

As a user of publishcron.cgi for AM1, I have to say that your new static files creation system is a great idea. Now I can easily create many more of such files to include on other pages without having to worry about publishcron timing out or publishing taking too long.

I use such files to display a couple of main stories and lists of latest headlines, and now it's easier than ever.

Good job Smile

Jonathan


Dave
Staff / Moderator


Oct 30, 2006, 4:06 PM

Post #2 of 8 (1785 views)
Shortcut
Re: [Strani] The value of static includes [In reply to] Can't Post

Thanks so much for the kind words. We really appreciate it! :)

Dave Edis - Senior Developer
interactivetools.com
 

(This post was edited by Dave on Oct 30, 2006, 4:07 PM)


jublack2000
User

Nov 12, 2006, 4:33 PM

Post #3 of 8 (1749 views)
Shortcut
Re: [Strani] The value of static includes [In reply to] Can't Post

Can you elaborate on how I would create these static files? I was using publishcron for several queries, but if there is an easier I would like to know how.

Thanks.


ross
Staff / Moderator


Nov 12, 2006, 5:48 PM

Post #4 of 8 (1744 views)
Shortcut
Re: [jublack2000] The value of static includes [In reply to] Can't Post

Hi there.

Thanks for posting and welcome to the board!

Would you mind posting up one of the lines from your publishcron.ini file? That way, I can actually get a walk through going for you based on your own data.

Basically, with Article Manager, you are going to be using the publishing rules to have Article Manager build you static page based off of similar settings as you used in Publishcron.

How does that sound? I look forward to hearing from you Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



jublack2000
User

Nov 13, 2006, 8:48 AM

Post #5 of 8 (1730 views)
Shortcut
Re: [ross] The value of static includes [In reply to] Can't Post

Hi Ross,

Thanks for your reply. It's Juliana; I was emailing with you the other day.

Here is a publishcron query I was playing around with:

page1 = ../../cms2/publish/cron-includes/featured-projects.html
query1 = cat=4&perpage=2&template=searchEngine/featuredProjects.html

Also, any updates on the email I sent to support on Thursday? Especially the part about using Java Applets in articles.

Thanks again,

Juliana


ChetW
Staff


Nov 15, 2006, 9:52 AM

Post #6 of 8 (1698 views)
Shortcut
Re: [jublack2000] The value of static includes [In reply to] Can't Post

Hi Juliana,

Thanks for the extra info!

Article Manager has some really powerful publishing options that are going to make it easy to publish a page of your featured articles. There is a bit of setup to get it going so I have outlined all the steps below:

1. Login to your Article Manager admin section and go to 'Admin' --> 'Publishing', on this page select the 'create' button.

2. You will now be on a page where you create Publish Rules, we are going to create a rule based on the publishcron.ini information that you have provided. This new Publish Rule will include:

--> The template to use for publishing this content.

--> How many article will be published to this page.

--> What category this page publish rule will apply to.

--> Where this published static page will be placed on your server.

3. Fill in the Publish Rule you are creating with the follow details:

Rule Name:
featuredProjects

Rule Description:
This creates a static featured projects page.

Rule Type:
select "a list of articles"

Template:
select your "featuredProjects.html" template file.

Placeholder set name:
featuredProjects

Published Files:
Be sure that "One file - listing articles from selected categories" is picked.

For filename type "featured-projects" and leave the <ext> that is in the second text field.

Limit Results:
1 to 2

Publish Dir:
Pick "Use custom publish directory", then use the browse button to point this publish rule at the /cron-includes/ directory on your server. Also fill in the actual Publish URL this url may look similar to:

http://www.mysite.com/cron-includes/

Category filters:
Select which category this publish rule applies to.

When you are finished save your changes, what you have just done is create a publish rule that will create a static html page in your /cron-includes/ directory.

This static page will be called "featured-projects.shtml" and will display only two listings from whichever category you are looking at. The include statement will look like this:

<!-- #include virtual ="$published.featuredProjects.webpath$ -->

Give this a try Juliana and if you have any questions I will be happy to help out. :)
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


alyates
User

Nov 15, 2006, 9:53 PM

Post #7 of 8 (1685 views)
Shortcut
Re: [ChetW] The value of static includes [In reply to] Can't Post

I have to agree with the original poster that the new publishing rules are a great addition to the program.

In AM1 publishcron was an invaluable tool as I am currently using over 400 queries. I'm having some problem figuring out how to use the publishing rules to replicate everything I was doing.

Our site is set up as such that each category cooresponds with one issue of our magazine. The articles however are not displayed by issue on the site. When creating each article there is an additional field for enterting a keyword(s). These keywords are how the various sections of the site are populated.

For example, an opinion article about health would have the keywords of "heal" and "opin." I then used the query in publishcron to search for these specific keywords in this field and then output the results to create the includes for each section of the site.

Any ideas?

Thanks,
Adam


Damon
Staff / Moderator


Nov 16, 2006, 1:17 PM

Post #8 of 8 (1666 views)
Shortcut
Re: [alyates] The value of static includes [In reply to] Can't Post

Hi Adam,

Publish Rules don't currently include the option to publish static files for keyword search query results.......but, the good news is, this is planned for the next version so this is something you should be able to do when it is available.

Take a look at Dave's post for details:
ArticleManager v2.1 - New features on the way...

If you have any other questions, let us know. :)

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/