Topic:${showlink(post['a:/type/reflect/any_reverse'][0].topic)}
${get_post_body(post.id)}
${showdate(post.updated.value)}
Topic Admins: ${v['name']},
Domain: ${top['topic']['b:type'][0]['domain']['name']}
Type Admins: ${v['name']},
Domain: ${post['c:/type/reflect/any_reverse'][0]['topic']['domain']['name']}
Domain Admins: ${v['name']},
Domain: ${post['d:/type/reflect/any_reverse'][0]['topic']['name']}
if (!root_posts) {var root_posts={};}
if (!have_replies) {var have_replies={};}
var timeObj = new Date();
var pasthours=mjt.urlquery.pasthours;
if (!(pasthours)) { pasthours = 24}
timeObj.setTime(timeObj.valueOf() - (pasthours*3600*1000));
var yMonth = timeObj.getUTCMonth();
yMonth++ ; if (yMonth < 10) { yMonth = "0" + yMonth + "";}
var yDate = timeObj.getUTCDate();
if (yDate < 10) { yDate = "0" + yDate + "";}
var yHours = timeObj.getUTCHours();
if (yHours < 10) { yHours = "0" + yHours + "";}
var startdate = timeObj.getUTCFullYear() + "-" + yMonth + "-" + yDate + "T" + yHours;
var givenname=null;
if (mjt.urlquery.givenname) {
givenname=mjt.urlquery.givenname;
}
mjt.mqlread([{
type: "/common/document",
in_reply_to: {id:null, name:null, optional:true},
id: null,
name: null,
updated: {
"value":null,
"value>":startdate
},
sort: '-updated.value',
limit: 150,
content: { id:null },
author: { type:'/freebase/user_profile',
id:null,
guid:null,
name:null,
'/common/topic/image': [{}],
picture_s:[{id:null,optional:true}],
location:[{id:null,name:null,optional:true}],
optional:true},
'a:/type/reflect/any_reverse': [{
link: { master_property: '/community/discussion_thread/post' },
type: '/community/discussion_thread',
id: null,
name:null,
topic: { id: null,
guid: null,
type: [],
name: null }
}],
'b:/type/reflect/any_reverse': [{
link: { master_property: '/community/discussion_thread/post' },
type: '/community/discussion_thread',
id: null,
name:null,
optional:true,
topic: { id: null,
name: null,
'a:type':'/common/topic',
'b:type':[{
'domain':{
'name':null,
'owners':{
'member':[{'name':givenname}]
}
}
}]
}
}],
'c:/type/reflect/any_reverse': [{
link: { master_property: '/community/discussion_thread/post' },
type: '/community/discussion_thread',
id: null,
name:null,
optional:true,
topic: { id: null,
name: null,
'type':'/type/type',
'domain':{
'name':null,
'owners':{
'member':[{'name':givenname}]
}
}
}
}],
'd:/type/reflect/any_reverse': [{
link: { master_property: '/community/discussion_thread/post' },
type: '/community/discussion_thread',
id: null,
name:null,
optional:true,
topic: { id: null,
name: null,
'type':'/type/domain',
'name':null,
'owners':{
'member':[{'name':givenname}]
}
}
}]
}], { cursor: cursor})
have_replies[post["in_reply_to"]["id"]] = 1;
root_posts[post["id"]] = post;
${getposts(mwstaff, q.next_cursor, have_replies, root_posts)}
var count=0
var pasthours=mjt.urlquery.pasthours;
if (!(pasthours)) { pasthours = 24}
count++
${showpost(post)}
There are $count unanswered posts in the past ${pasthours} hours.
loading report...
error:
${mjt.log("Error in: ",q)}
${msg.text||msg.message}
(${showlink(msg.type, 'help')})
var givenname=mjt.urlquery.givenname;
if (!(givenname)) {givenname="";}