 |

tmaffin
User
May 7, 2003, 1:00 PM
Post #1 of 13
(4102 views)
Shortcut
|
|
AM idea: AutoPosting
|
Can't Post
|
|
It would be neat to have a feature where by surfing to a page and clicking a bookmark, AM would automatically start populating a "Create Article" form with Internet URL enabled, and the page title plugged in. Similar to the way AvantGo's "AutoChannel" ( https://my.avantgo.com/account/autochannel.html ) works or some blogging services. Most people put that bookmark as a link on IE's "Links" explorer bar, so it's one click away. It would make it super-easy to surf-and-post. Perhaps there's already a way to do this?
|
|
|  |
 |

Donna
Staff
/ Moderator

May 7, 2003, 5:03 PM
Post #2 of 13
(4096 views)
Shortcut
|
|
Re: [tmaffin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
Hi Tod! You're right! This is pretty darn cool. I'm now trying to get something like this to work, and I'm getting somewhere -- but I've run into a wall and have had to bring in the big guns - our resident JavaScript Guru, Ben. :) Even as is it's kinda neat, so I look forward to passing this along.. :) Cheers! Donna Donna
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.
|
|
|  |
 |

MalaK_3araby
User
May 7, 2003, 5:48 PM
Post #3 of 13
(4095 views)
Shortcut
|
|
Re: [tmaffin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
This is one fine idea. -------------- Sure you can spell it, but do you get it?
|
|
|  |
 |

Maurice
User
May 8, 2003, 5:47 AM
Post #4 of 13
(4090 views)
Shortcut
|
|
Re: [tmaffin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
Hi, We had it made as a ad-on for AM look at http://www.buitenhuis.nl/cgi/cms/publish/article_69.shtml click on the text "Toevoegen aan produktverzamelstaat" this will create a favorite page with all your favorite articles (and in this case products) witch you can mail to a friend or to the owner of the site. is that what u mean? Maurice ------------------------------------------- www.intraserve.nl we buildt: http://www.buitenhuis.nl http://www.squerist.nl http://www.movb.nl http://www.lvsvo.aimfor.nl/ http://www.vanstraten.net http://www.beukenrode.nl http://www.kydonk.nl http://www.geneeskundigevereniging.nl http://www.nvzd.nl http://www.geneeskundigevereniging.nl http://www.vhmz.nl http://www.generate-it.nl http://www.florint.nl
|
|
|  |
 |

tmaffin
User
May 8, 2003, 8:29 AM
Post #5 of 13
(4083 views)
Shortcut
|
|
Re: [Maurice] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
Not really. It wouldn't be something regular site visitors would see or use... it's a tool for admins and content publishers -- essentially a quick way into publishing a URL-only article.
|
|
|  |
 |

Dave
Staff
/ Moderator

May 8, 2003, 10:34 PM
Post #6 of 13
(4065 views)
Shortcut
|
|
Re: [tmaffin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
There's no easy way to do this right now (that I can think of), but here's a total hack if you are interested. : ) <a href="javascript:date=new Date();url='http://demo1.interactivetools.com/current/artman_xe889/exec/admin.cgi?id=artman&pw=demo&login=1&art_save=1&year='+date.getYear()+'&mon='+(date.getMonth()+1)+'&day='+date.getDate()+'&name='+escape(document.title)+'&art_type=3&link='+escape(document.location);window.location=url;">bookmark me</a> Insert your own URL to Article Manager, as well as the writers username and password (or require that they login before using the link) and have them bookmark this. What it does is save an article with the current date, along with the title and URL of the current page. It doesn't set the category however so you get a category not set message and can click the (go back) button in the program interface to make further changes to the already saved record. Like I said, total hack - but it works. : ) A better solution would be to have the add page use any data entered in the query string and prepopulate the fields with it (instead of calling the add page's save routine and fooling around as we are above). If you'd like that done, I'll ask to have it included in the next release... It should be pretty simple to implement. Note, if we did implement it, your bookmark would be something like this: <a href="javascript:window.location= 'http://demo1.interactivetools.com/current/artman_xe889/exec/admin.cgi?art_add=1&name='+escape(document.title)+'&art_type=3&link='+escape(document.location)">bookmark me</a> and you wouldn't have the category error/button click to get back to the edit page. You'd still have to include the username/password in the url though, or require people login in advance before using the link (if not they'd get the login screen, login, then have to use the link again). Hope that helps! : ) PS: Ben, Sorry if I beat you to this post... ;) Dave Edis - Senior Developer interactivetools.com
(This post was edited by Dave on May 8, 2003, 10:35 PM)
|
|
|  |
 |

tmaffin
User
May 9, 2003, 9:23 AM
Post #7 of 13
(4053 views)
Shortcut
|
|
Re: [Dave] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
Wow, this is a great hack! Is there a way to force the status (to visible) and the time (to the current time) into the URL as well? That way, the only thing one would have to punch in is the category and a summary... Very cool hack.
|
|
|  |
 |

Dave
Staff
/ Moderator

May 9, 2003, 10:06 AM
Post #8 of 13
(4051 views)
Shortcut
|
|
Re: [tmaffin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
Yea, shouldn't be a problem, I'll let Ben jump on that one for you. Stay tuned. : ) Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 | |  |
 |

Donna
Staff
/ Moderator

May 9, 2003, 12:06 PM
Post #10 of 13
(4034 views)
Shortcut
|
|
Re: [Dave] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
A slightly similar method that I rather like ... <a href="javascript:d=document;t=d.selection?d.selection.createRange().content:d.getSelection();void(window.open('http://demo1.interactivetools.com/current/artman_xe889/exec/admin.cgi?id=artman&pw=demo&login=1&art_add=1'+escape(d.title)+'&link='+escape(d.location.href)+'&content='+escape(t),'_blank','scrollbars=yes,width=640,height=440,status=yes,resizable=yes,scrollbars=yes'))">Post to Artman</a> This doesn't automatically add anything to any of the fields, because well, I haven't quite got that figured out yet. ;) Nevertheless, I rather like it since I can just add it to my Links toolbar in internet explorer and it'll open a new window for me to post with. I do so hate things that take me away from the site I'm surfing. I've got Ben working on improving it since he actually knows JavaScript, and I really don't. But darnit, I'm proud of getting even this far, and if Dave is going to post his, I have to post mine. ;) Cheers! Donna Donna
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.
|
|
|  |
 |

tmaffin
User
May 9, 2003, 12:07 PM
Post #11 of 13
(4034 views)
Shortcut
|
|
Re: [Benjamin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
Thanks Benjamin! I'm not sure how to install this... if I put the HTML file in my bookmarks list, it loads (and tried to post) the HTML file, not the page I was originally on... (Also, while the "visible status" tag works now, the Time flag seems out of whack. I tried posting at 12:04 PM and it showed up as 1:04 AM.) I think we're close, though! :)
|
|
|  |
 |

Benjamin
Staff

May 9, 2003, 12:11 PM
Post #12 of 13
(4033 views)
Shortcut
|
|
Re: [tmaffin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
I was just sitting having lunch when this struck me too... I've deleted my previous post to prevent any confusion. Try the following, instead: <a href="javascript:date=new Date();if(String(date.getHours())>11){hrs=String(date.getHours())-12;ampm='pm';}else{hrs=date.getHours();ampm='am';}url='http://www.yourdomain.com/path/to/admin.cgi?id=artman&pw=demo&login=1&status=2&art_save=1&year='+date.getYear()+'&mon='+(date.getMonth()+1)+'&day='+date.getDate()+'&hour='+hrs+'&min='+date.getMinutes()+'&m='+ampm+'&name='+escape(document.title)+'&art_type=3&link='+escape(document.location);window.location=url;">bookmark me</a> For everyone else, just make sure you replace http://www.yourdomain.com/path/to/admin.cgi?id=artman&pw=demo with the URL of your Article Manager admin program, and your username and password. Ben interactivetools.com
(This post was edited by Benjamin on May 9, 2003, 1:03 PM)
|
|
|  |
 |

tmaffin
User
May 9, 2003, 12:24 PM
Post #13 of 13
(4027 views)
Shortcut
|
Re: [Benjamin] AM idea: AutoPosting
[In reply to]
|
Can't Post
|
|
Bingo! Works like a charm. :) Great work and, as usual, lightening-speed. Another couple of ideas: 1. To make it easier for new users in the future, you could add a new "QuickClick" tab in Setup Options, and have the system automatically generate a proper link (inserting the actual admin.cgi path of the site's install) that people can just drag up to their Links bar. This is how many of the blogging sites do it. 2. In the long run, the "You haven't selected a category - go back" glitch could disappear, but this is an enormous time-saving improvement over logging in, manually pasting the URL and title, etc. :) Long term ideas, I'm sure. I'm a very happy camper now. You guys ROCK! Tod
|
|
|  |
|