CMS???

69 views
Skip to first unread message

Chad Meyers

unread,
Apr 29, 2013, 11:48:50 AM4/29/13
to mootool...@googlegroups.com
I offered to help "update" a website and ended up building a whole new one. . . oop's

Now I don't want to turn around and say they have to pay me to maintain it, and I don't want to be making "posts" every day in the News section of the site.  I am trying to avoid pushing the site into Joomla (resource hog) but would like to add a simple blog like CMS for the 3 pages under the news category.

Any thoughts? (keep it MooTools please)

I thought I might try to just push content from Blogger because the original site is done in Google Pages, but I am not getting anywhere fast.

Thanks,
Chad

Aaron Newton

unread,
Apr 29, 2013, 12:51:51 PM4/29/13
to mootools-users


--
 
---
You received this message because you are subscribed to the Google Groups "MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mootools-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

davepilbeam

unread,
May 2, 2013, 5:41:47 AM5/2/13
to mootool...@googlegroups.com

Using Request.JSONP to get feeds from Blogger/Twitter/Facebook/Wordpress/etc has been working well for me for a few years now.

With a bit of wrangling, it might be a solution, because you can pull in anything you want..

if there isn't a direct feed, use YQL to provide:
example: http://developer.yahoo.com/yql/console/#h=select%20title%20from%20rss%20where%20url%3D%22http%3A//www.nytimes.com/services/xml/rss/nyt/HomePage.xml%22

BLOGGER:
original href is "http://whatever.blogspot.com/feeds/posts/default/-/News?alt=rss" (you can set up different pages to pull in different categories)
send to 'http://query.yahooapis.com/v1/public/yql?' with:
callback=Request.JSONP.request_map.request_1
format=json
q=select * from rss where url="http://whatever.blogspot.com/feeds/posts/default/-/News?alt=rss" limit 5

FACEBOOK
original href is "http://www.facebook.com/feeds/page.php?id=0000000000&format=atom10"
send to 'http://query.yahooapis.com/v1/public/yql?' with:
callback=Request.JSONP.request_map.request_1
format=json
q=select * from atom where url="http://www.facebook.com/feeds/page.php?id=0000000000&format=atom10" limit 1

TWITTER:
original href is "https://twitter.com/Whatever"
send to https://api.twitter.com/1/statuses/user_timeline.json with:
callback=Request.JSONP.request_map.request_0
count=3
screen_name=Whatever
include_rts=1


Scan page links as required:

var YQLgetter = new Class({
Extends: Request.JSONP,
options:{ query:'select * from',lang:'rss',format:'json',data:{count:1,screenname:''} },

initialize: function(href,url,options){
this.parent(options);
if( url.test(/\.json$/) ){
href = url;this.options.data = {'count':this.options.data.count,'screen_name':this.options.data.screenname,'include_rts':1};
} else {
this.options.data = {q:this.options.query+' '+this.options.lang+' where url="'+url+'" limit '+this.options.data.count,'format':this.options.format};
}
this.options.url = href;
if(!this.options.url){return false;} 
},

success: function(data,se){ 
if(data[0]){ this.options.data.since_id = data[0].id; }this.parent(data,se); 
}
});

Reply all
Reply to author
Forward
0 new messages