Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Two questions before upgrading..

 

 


ColinW-O
User

Oct 20, 2006, 1:04 AM

Post #1 of 22 (7101 views)
Shortcut
Two questions before upgrading.. Can't Post

Yay! Finally. Although I'm excited about this, the headache of upgrading is really putting me off! LOL

Okay, so. I have two questions. Probably even more, but let's start with just two.

1) I have the RSS feed currently at http://www.wrestling-online.com/news/rss.xml - Will this be upgraded as well? I followed the procedure you guys had on the site to create this, so hopefully nothing changed.

2) I'm also using a news ticker, which you can see at http://www.wrestling-online.com/news/ . This was created from one of the posts that I suggested and some people answered. Will everything work as before once we start publish on the same directory?

If I read correctly - and I hope I did, because it's still early morning here - we can use a "test" location with the same updates while there's still AM1 working live, correct?



Colin
Wrestling-Online.com


DefenceTalk.com
User

Oct 20, 2006, 8:06 AM

Post #2 of 22 (7068 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

Hey,

We also have bunch of RSS feeds for different categories... would they migrate over or not?

Thanks Cool


ColinW-O
User

Oct 20, 2006, 9:07 AM

Post #3 of 22 (7062 views)
Shortcut
Re: [DefenceTalk.com] Two questions before upgrading.. [In reply to] Can't Post

Hey Defensetalk...first of all, nice site.

Second...how did you go about translating the website? I see that you use something from Google, but I can't locate anything on their website. Maybe I'm turning blind? LOL

Colin


Dave
Staff / Moderator


Oct 20, 2006, 10:12 AM

Post #4 of 22 (7050 views)
Shortcut
Re: [Colin W-O] Two questions before upgrading.. [In reply to] Can't Post

>the headache of upgrading is really putting me off! LOL

Well give it a try, you might be surprised how easy it is. Although, I don't know how advanced or complicated your site is, maybe you know something I don't! ;)

>1) I have the RSS feed currently at...

That won't be imported, but AM2 creates a site-wide RSS feed by default and you could easily create category specific RSS feeds very easily. You can control where it's published and what it's named in: Admin > Publish Rules > Global RSS Feed

>2) I'm also using a news ticker...

I'm not sure how that's being published, but you can easily (I know that's a relative term) re-create something like that. Artman2 lets you publish an unlimited number of article lists, so you could easily have it publish a javascript file with the latest (or selected) headlines.

You could give it a shot yourself, or I'm sure the support team can do up a tutorial on how to do that in Artman2 in the next few days if no one else beats us to the punch.

>...we can use a "test" location with the same updates while there's still AM1 working live, correct?

Yes, install in a NEW location and keep everything separate. This gives you time to work out all the kinks (if there are any) before you go live.

Hope that helps, keep us informed of your progress!

Dave Edis - Senior Developer
interactivetools.com
 


ColinW-O
User

Oct 20, 2006, 10:41 AM

Post #5 of 22 (7045 views)
Shortcut
Re: [Dave] Two questions before upgrading.. [In reply to] Can't Post

Yeah I just installed it, and it's currently migrating the articles. I put it on SQL which was faster, the previous one timed out after a few.

Yeah the ticker is gonna be a b!tch. LOL. Hopefully editing the javascript and php file will do the job. But I doubt it.

And as for the RSS feeds, I'll see how that works after all this is done. It's gonna take a while to get used to the new interface :)

Nice job though. Thanks.


Dave
Staff / Moderator


Oct 20, 2006, 11:13 AM

Post #6 of 22 (7038 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

Yea, you gotta use mySQL when you have lots of articles.

Let us know how the ticker goes or whatever progress you make or don't make with it. I'm sure there's lots of other users who would love to have something like that as well.

I think once you get in there you'll be thrilled how powerful the new publishing system is. You can literally publish an unlimited number of pages, article lists, or category menus, or whatever you need. It's pretty cool.

Dave Edis - Senior Developer
interactivetools.com
 


Theo
Project Manager / Moderator


Oct 20, 2006, 11:18 AM

Post #7 of 22 (7037 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

ColinW-O,

I'm pretty keen to see everyone getting their Article Manager 1 designs into Artman 2, so I'd like to take a stab at making this news ticker work for you. Can you give me some info on how this is working in Artman 1?

Maybe you can email me the files that make it go, including any Article Manager 1 templates, and I could write up a quick tutorial for you on how to make this work with v2 Publishing Rules.

Talk to you soon,


Theo Wiersma
Project Manager


ColinW-O
User

Oct 20, 2006, 11:25 AM

Post #8 of 22 (7033 views)
Shortcut
Re: [Theo] Two questions before upgrading.. [In reply to] Can't Post

Hi Theo,

I'm attaching a ZIP file which contains the files needed for the ticker to work.

Also, this forum post http://www.interactivetools.com/forum/gforum.cgi?post=7389 gives you a background on how all of this started for AM1.

Thanks,

Colin


(This post was edited by ColinW-O on Oct 20, 2006, 11:25 AM)
Attachments: newsticker.zip (7.08 KB)


DefenceTalk.com
User

Oct 20, 2006, 11:35 AM

Post #9 of 22 (7026 views)
Shortcut
Re: [Dave] Two questions before upgrading.. [In reply to] Can't Post

Thanks Dave.

>>>That won't be imported, but AM2 creates a site-wide RSS feed by default and you could easily create category specific RSS feeds very easily. You can control where it's published and what it's named in: Admin > Publish Rules > Global RSS Feed<<<

Please tell me I can keep the same names that I have right now for the RSS feeds? Unsure

Colin, thanks. We are using a module which is for Joomla to do sitewide translations! :D


Dave
Staff / Moderator


Oct 20, 2006, 11:39 AM

Post #10 of 22 (7025 views)
Shortcut
Re: [DefenceTalk.com] Two questions before upgrading.. [In reply to] Can't Post

Yes, you can name your RSS feeds (or any published file) whatever you want so you can create the same names.

Have a look at the following to see how it works:

Admin > Publish Rules > Global RSS Feed

Hope that helps! :)

Dave Edis - Senior Developer
interactivetools.com
 


Theo
Project Manager / Moderator


Oct 20, 2006, 3:53 PM

Post #11 of 22 (7010 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

Colin,

Setting up the script itself is pretty independant of Article Manager. It's just a simple matter of publishing that newstickerdata.xml.

1) Create a new articleList template called "newstickerTemplate.xml".
It should look something like this:

<newsticker>
<parameters>
<registration_code>dpre53erac</registration_code>
<movie_width>600</movie_width>
<movie_height>22</movie_height>
<bgcolor>EEEEEE</bgcolor>
<border_color>000099</border_color>
<font>Arial</font>
<font_size>12</font_size>
<font_color>000000</font_color>
<font_bold>yes</font_bold>
<mouseover_font_color>CC0000</mouseover_font_color>
<text_align>center</text_align>
<left_margin>0</left_margin>
<right_margin>0</right_margin>
<top_space>1</top_space>
<underline>no</underline>
<pause_time>40</pause_time>

</parameters>
<content>
<!-- template insert : $articleList$ -->
<!-- templatecell : articleRow --><subitem>
<but_text>$article.title:textOnly$</but_text>
<but_link>$published.articlePage.url$</but_link>
<but_target>_self</but_target>
</subitem><!-- /templatecell : articleRow -->
</content>
</newsticker>


Upload this template to your [program dir]/templates/articleLists/ folder.

2) Create a publishing rule to generate your newsticker.xml file.
- Go into Admin > Publishing. Click "Create" (at the bottom right) to create a new publishing rule.
- Name your new rule "Newsticker", and description "Headline file for newsticker script", Placeholder Set Name of "newsticker".
- Select "a list of articles" for type and your new articleLists/newstickerTemplate.xml template from the template pulldown.
- For "Published As", you want a Master List of articles, and the filename should be newsticker.xml
- Choose an appropriate number of headlines.
- Click "save", then click "publish" for your new publishing rule.

3) Configure the newsticker script as normal, and have it look for the newstickerTemplate.xml file in your publish folder. You can then paste your newsticker code (generated by the form in newsticker.html) into the appropriate templates.

Does this make sense? My new newstickerTemplate.xml is very simplified from Artman 1, and of course doesn't require any kludgey embedded search queries or publishcron magic. :)


Theo Wiersma
Project Manager

(This post was edited by Theo on Oct 21, 2006, 11:08 AM)


ColinW-O
User

Oct 21, 2006, 1:34 AM

Post #12 of 22 (6992 views)
Shortcut
Re: [Theo] Two questions before upgrading.. [In reply to] Can't Post

I'll give this a shot today and I will post here the results :) Thanks for all the help. You guys are the best support people eeeeeeeeeeeeeeeeeeever! Wink


ColinW-O
User

Oct 21, 2006, 1:52 AM

Post #13 of 22 (6990 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

When I go to publish the rule it says:

Publishing: Newsticker (articleList)
Error: templatecell 'articleRow' wasn't found in 'articleLists/newstickertemplate.xml'!

Well the templatecell is there in the new template file because I just copied and pasted from what you put in here.


Dave
Staff / Moderator


Oct 21, 2006, 8:14 AM

Post #14 of 22 (6973 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

Oops, Looks like there's a typo in the HTML Theo posted. That closed templateCell tag should read:

<!-- /templatecell : articleRow -->

Dave Edis - Senior Developer
interactivetools.com
 


ColinW-O
User

Oct 21, 2006, 8:20 AM

Post #15 of 22 (6971 views)
Shortcut
Re: [Dave] Two questions before upgrading.. [In reply to] Can't Post

Yeah LOL I was just going to post the same message cause I figured that out and I'm trying to see if it works :) Update in a few... :)


ColinW-O
User

Oct 21, 2006, 8:40 AM

Post #16 of 22 (6966 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

Okay it works, as you can see at http://www.wrestling-online.com/news2/publish/

The only thing you have to change from what Theo said is that you have to call the include_globalHeadlines.shtml file in the PHP script, which when found is transformed into newstickerdata.xml, which is then called by the flash ticker. Confused? LOL.

So your PHP file should be like this:


Code
<?php 
$filename = 'include_globalHeadlines.shtml';
if (file_exists($filename)) {
rename("include_globalHeadlines.shtml", "newstickerdata.xml");
copy("/location/to/your/articlemanager/publish/newstickerdata.xml");
}
?>



(This post was edited by ColinW-O on Oct 21, 2006, 8:41 AM)


Dave
Staff / Moderator


Oct 21, 2006, 10:12 AM

Post #17 of 22 (6954 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

It works? That's great!

It looks like all that PHP code does is copy the file? Can you adjust the Publish Rule to just publish to newstickerdata.xml directly?

Dave Edis - Senior Developer
interactivetools.com
 


ColinW-O
User

Oct 21, 2006, 10:36 AM

Post #18 of 22 (6952 views)
Shortcut
Re: [Dave] Two questions before upgrading.. [In reply to] Can't Post

Hm, I think you're right. In fact, it's already outputting a newsticker.xml from the publish menu.

I'll work around this and post again.


ColinW-O
User

Oct 21, 2006, 11:02 AM

Post #19 of 22 (6950 views)
Shortcut
Re: [ColinW-O] Two questions before upgrading.. [In reply to] Can't Post

It should work as you said. For some reason it's calling my other .xml file which is converted from the include_globalHeadlines.shtml file even after I changed everything. I think I'm loading a cached version because I reloaded the page all the way to hell :)

If there's an output file already being done from the Publish menu, in this case newsticker.xml, the php file all it's doing is copying the include_globalHeadlines.shtml and rename it to newstickerDATA.xml. But since you have an XML file already there, you can skip that part from the PHP file.


Theo
Project Manager / Moderator


Oct 21, 2006, 11:09 AM

Post #20 of 22 (6949 views)
Shortcut
Re: [Dave] Two questions before upgrading.. [In reply to] Can't Post


In Reply To
Oops, Looks like there's a typo in the HTML Theo posted. That closed templateCell tag should read:

<!-- /templatecell : articleRow -->


Sorry about that. I've updated my post to reflect this.Blush


Theo Wiersma
Project Manager


happytime
User

Oct 21, 2006, 11:20 AM

Post #21 of 22 (6947 views)
Shortcut
Re: [Dave] Two questions before upgrading.. [In reply to] Can't Post

Omigod! Did I miss this? Does this mean we can publish directly to an .xml file by changing Publishing Rules extensions?

If so, this one is my dream come true!Smile


ColinW-O
User

Oct 21, 2006, 11:45 AM

Post #22 of 22 (6944 views)
Shortcut
Re: [happytime] Two questions before upgrading.. [In reply to] Can't Post

Yes you can.