Youtube API - Order newsubscriptionvideos by publishdate - youtube-api

can someone tell me how to order this feed by date?
http://gdata.youtube.com/feeds/base/users/USERNAME/newsubscriptionvideos?alt=json
This does not work oO
http://gdata.youtube.com/feeds/base/users/USERNAME/newsubscriptionvideos?orderby=published&alt=json
Thanks in advance!
Peter

Not sure if you've figured this out. But it seems to work fine for me. I just added the orderby=published.
And I'm using "users/default/newsubscriptionvideos" instead of actually specifying the username. Maybe that makes a difference.

Related

RE: Mail Merge Google Sheet - Default subject line & Time trigger

Thanks in advance for your assistance here. I really appreciate it!!
I have built a script using the template here: https://developers.google.com/workspace/solutions/mail-merge
...And it's awesome. Working perfectly and solving a big problem for me!!
I have 2 problems I need to fix, and I need your help, please!!
Problem 1: Can I use a column (or cell reference) as a default "subjectLine" rather than it be user input each time the script is run?
Problem 2: Once Problem 1 (above) is solved, I'd like to trigger the script to automatically run every 15 minutes, continuously.
Any tips/scripts/pointers would be awesome. I am quite new to coding so have tried to dig up how to replace the user input piece of code with a default value for the subject line, but I can't figure it out. And only once this is done, can I then start to try and get code working for the second problem - so I'm stuck on both counts.
Thanks again!! Kind regards, Tom

How to add PDF-Viewer Tab to Channel in Microsoft Teams?

Adding a PDF-Viewer tab to present/show a Sharepoint document has been working before.
I've tried this in January and it seemed to be an easy task - just get the DriveItem ID and URL (from GET /groups/{group-id}/drive/items/{item-id}) and edit the sample from the API Reference with these values (https://learn.microsoft.com/de-de/graph/teams-configuring-builtin-tabs#word-excel-powerpoint-and-pdf-tabs).
Now, that i want to use this, it doesn't work anymore ;-( The tab is created, added to channel, the name of the file shows BUT there is no document!!! What am i missing? Has the format changed? Has someone lately gotten this to work???
Please let me know, how! ;-)
ps: there is no description of the property "entityID" that makes any sense, can anyone explain it?
result in teams
Got the answer, was a Syntax problem!
The "contentURL" property needs to be unescaped (in this case the "%20"). It is that simple after all ;-)
Also i found out, the "entityID" property has no meaning for the File used. It can be "null" actually! I still use the ItemID i got from the DriveItem of the File.
For unescaping i used:
string contentUrl = Uri.UnescapeDataString(webUrl);
If it wasn't for this post I would have not gotten it figured out, so thank you!
For me I ended up having to make entityID null, just unescaping the contentURL didn't do it for me alone.
Thanks for your comment. leaving entityID null fixed my isse also.
I opend an issue to have the docs fixed!

Anyone know how to disable polymer iron-autogrow-textarea input?

Can't find any info on this.
Simply trying to use 'disabled' on my iron-autogrow-textarea with no avail. Doesn't work anyway i try it, javascript or directly on element. Documentation also doesn't seem to give any insight.
Anyone have any info? Am i missing something simple?
<iron-autogrow-textarea disabled style="border:none; width: 80%;" bind-value="{{bookingDetails}}"></iron-autogrow-textarea>
Thanks everyone,
Ryann.
Ok guys,
Here's the solution, i noticed there is a child textarea which i need to select directly, in my situation i used the code below. 'job_details' is the id of the autogrow-textarea.
this.$.job_details.querySelector('textarea').disabled = true;
Thanks for checking it out.

how to change url in mvc Framework

i use MVC and i want to change my url!I want to put my product's title in url.
look at this one
domain.com/buy/read/51
and i want something like this
domain.com/buy/read/some_text.
what is the best Optimal Solution???
domain.com/controllers/function/parameter
51 is parameter,i cannot remove it from url.can i?
after above problem,i decide to make a url like this
domain.com/buy/read/51/some_text
and attempt to change it with(by htaccess)
domain.com/buy/some_text
but i couldnot.
please help me.i spend 3 days with this problem.
It's depend of your framework (even it's your own). Usually, you can create a Route which match with your constraints.
Sorry if i can't help more, but i need more informations
Bye
i declared this codes in Bootstrap.what's your opinion??
if(isset($url[0]) && $url[0]=='buy'){
require 'controllers/buy.php';
$controller=new buy();
$controller->Read($url[1]);
return FALSE;
}

Is ImageFigure() Constructor present in graphiti.js like draw2d?

i found one method ImageFigure() in draw2d. So i want to know is it presnt in graphiti.js also. If it present in graphiti then it solves my problem on grouping object.
Thanks In advance.
ImageShape or ImageFigure is not part of the current graphiti version. Graphiti tries to implement almost all functions/object from Draw2D......but it requires some time.

Resources