Sets of embedded content

Permalink
File manager seems just to hand physical content actually stored on site and as my site will contain the majority of content through embed links using the likes of Oembed and playlist flash payers.

I cannot see anything that can handle the management of this content. A "page set" would be ideal as each emebed will have its own page. We could then see everything like we do for images and docs.

We will us the like of Dojo Page Filter Pro and the usual Page List addons to produce the cataloging service to benefit the user but it is the administration tasks I am more concerned with.

Thoughts?

 
mhawke replied on at Permalink Reply
mhawke
Can you re-phrase the question?
davidpratthk replied on at Permalink Reply
If I have physical content (image , doc, vid etc) stored on my server then file manager can manage it in sets etc.

If I use an HTML block and display content through an embed code (iframe etc) I don't seem to be able to manage it in the same way. IE there is nothing like a PAGE SET where I can manage sets of pages. pages are content too but C5 doesn't seem to deal with that in any other way apart from sitemap and sticking content is folders which in the CMS world is a bit of a step backwards.
RadiantWeb replied on at Permalink Reply
RadiantWeb
Why can you not consider a "tag" or "category" aka select attribute type as a set? It's merely filtering you are concerned with, no?

And there are several addons to provide nicer filtering via attributes.

ChadStrat
VidalThemes replied on at Permalink Reply
VidalThemes
Hi There,

Have you seen this add-on

http://www.concrete5.org/marketplace/addons/oembed/...

I believe you can manage all your Oembed links through it.
davidpratthk replied on at Permalink Reply
Hi Vidall
I have this add on and having paid for it find its just a big disappointment. Maybe should have done my homework on it.
Oemded is essentially the API for embed.ly and its documentation for setup is not good unless your experienced. Certainly not intuitive. What is URL Cache Length? What is the purpose of cache units. Until i discover this then I cannot even install it.

They also seem to be obsessed with designing blogs. Gonna take some serious research before we get to work with it. BUT ........ even Oembed is not a management tool.

For now we are just posting an iframe code in an HTML block - works ok and is dead simple.
JohntheFish replied on at Permalink Reply
JohntheFish
I am quite a fan of the Oembed addon, enough so that I have provided integrations with several of my own addons (Universal Content Puller, Magic Data, Structured Content). When a block is Oembed enabled or has an Oembed enabled template, all you need to do is insert a scrap of code like:

[oembed]http://www.youtube.com/watch?v=GIW44o2RJCc[/oembed]

Where the [oembed]....[/oembed] markers are there purely to tell Oembed where to do its thing and the bit between them is a link to whatever you want it to embed, such as (in the above case) a link to a You-Tube video.

For most common uses like videos, you don't need to mess about with embed.ly. Embed.ly is only used for some of the more esoteric types of embedded content.
davidpratthk replied on at Permalink Reply
So you would be the best person to ask --
What is URL Cache Length? What does it mean?
What is the purpose of cache units? What does it mean?

Then at least we can install it.
JohntheFish replied on at Permalink Reply
JohntheFish
Actually hereNT as the developer is the best person to ask. He is on USA-time, so won't be online 'till this afternoon. While I am here:

- A URL is a web address, like the one for a you-tube video I used in the example above.

- When processing a block for URLs, Oembed checks them out by looking for them on the web. This takes time, so rather than do it repeatedly, it keeps a cache (a short term record).

When installing, I recommend just leaving all the options as they are (default). Its worth updating to the latest version of the Oembed addon as there are some fixes required by some web hosts in order for it to work reliably.

Then add an Oembed block/template to a test page, keeping the standard settings and check it works OK.

With the settings you ignored earlier, you can also edit them globally through the dashboard or specifically for each block. So you can now play about with any settings for the block on your test page, then once you have the settings you want, you can go to the dashboard page and put them in the global settings.
hereNT replied on at Permalink Reply
hereNT
Hi davidpratthk,

If you have problems with any addon of mine, please, please, PLEASE use the support system, or the forums section below the addon page. I will actually see the request there and can help you. The forums will be seen by everyone, the support section only by people that have bought the addon. This applies to pretty much everything in the marketplace.

I'm sorry you didn't find the setup easy to set up. I will add some (?) icons next to those to make it clearer. JohntheFish is correct, the length is 'how many' and then the units is basically 'of what.' I'm not sure why you say you couldn't install it without knowing that, there are defaults, and it can be modified afterwards as well. The application will install even if you don't change anything on the installation options screen.

There is also a popup after you install with more information. It also has a link to the documentation here:

http://www.werstnet.com/playground/oembed/documentation/...

What, specifically, did you find missing here? I would like to improve it if possible, so that it's as clear as possible.

This application is not just for using embed.ly - that is completely optional but provides a lot more providers. By default, it will do youtube, flickr, viddler, qik, revision3, hutu, vimeo (groups and videos) ifixit, and smugmug. I plan on extending this over time, as well.

As far as "obsessed with blogs" I was just using that as an example. If you notice, there is this section on the documentation:

-----------------------------------------
There are several more options for where to get content from than on a regular page list block.

1) Area On Page will use the specified area. There is no error checking to make sure that the area exists.

2) Page Description - This is the default for normal page lists.

3) Attribute - There are three different ways that attributes can be processed. Try each of them to see how they work. There are sample attributes installed with the package.

NOTE - to add an attribute to the list here, add it to the "Oembed Page Attributes" group in the dashboard.
----------------------------------

It seems like your use case is to have a collection of pages that can be searched, each with their own embeds?

The second part is easily accomplished by using an attribute instead of an area on the page. There are three examples of that here:

http://www.werstnet.com/playground/oembed/examples/...

The first is a bit trickier. There are very few applications that allow searching and filtering for page lists on the front end. That was far outside of the scope of what this add on is designed for.

If you were to develop your own filtering system (usually a page type or a single page, or usinghttp://www.concrete5.org/marketplace/addons/ajax-page-tools/... from RadiantWeb or the Dojo Page Filters Pro add on you mentioned) then there is actually an API for developers to hook into the Oembed content replacement:

$oembedh = Loader::helper("oembed", "oembed");
$content = "<?php   echo t("Some Text Here"); ?>";
$newContent = $oembedh->embedText($content);
print $newContent;


If you made a custom template for the Ajax Page Tools, you could just do that from within the output loop. Modify it to something like this:

$oembedh = Loader::helper("oembed", "oembed");
$content = $page->getAttribute("your_attribute_with_the_urls");
$newContent = $oembedh->embedText($content);
print $newContent;


I'm not sure if it would be $page or $cobj in those add on, but that's the general idea. That's not shown on the documentation page, I guess it should be. It's in the popup after you install, but if you didn't even install, I guess you would never see that.

Setting up a custom template for one of those add-ons should only take a few minutes to an hour, I think. Kind of depends on how competent you are with making a custom template for an add on, and how complicated the layout you need is. You might also want a page type that doesn't have an area for the main content, but just uses that same code to output the embed from the current page.

As far as management, I was not trying to make a page manager with Oembed. It is simply a page list and a content block for the front end. You could use composer to make them quite easily. Or use the dashboard page search under the site map. If you are only using attributes, you would never have to visit the page to modify it, and you could easily find pages by other attributes like tags or categories.

If you want more control, I also have this add on for managing composer enabled pages in a more intuitive way:

http://www.concrete5.org/marketplace/addons/dashboard-page-managers...

There is a deal for getting that with Oembed for only $25, I can give you a discount for the Dashboard Page Managers since the deal didn't exist when you first purchased. At that point, the managers application was still in Peer Review.

Please let me know if there is anything more I can do to help you with setting up the application you need.
davidpratthk replied on at Permalink Reply
FYI- My question raised for answer is not about Oembed and your long long long reply has kinda high jacked the thread. We have installed it and are trying to work with it. If there are problems that can't be answered we will use support but my view was only an observation, nothing more.
hereNT replied on at Permalink Reply
hereNT
Sorry, I won't try and offer you any more free advice about how to set up your application.

FYI, all my answers / posts are long. I try to put as much detail in as possible. I wasn't trying to hijack, simply give you several different options to achieve what you are trying to do.