Can anyone give me hint how can I grab all youtube videos from drupal7 node contents?
Actually I want to grab all youtube videos from node contents then that link I want to save in spreadsheet.
Create a view (and select your specific content type that has the Youtube videos embedded into it). If you are not using views module already, install Views module first so that you can create a view.
After that use either Views Excel Export module OR Views Data Export module to export the node bodies to excel sheets.
Note: This approach will give you entire content of the node bodies (not just the iframe code of the video) into the excel sheets. However, you can easily find the iframe codes within those excel sheets with simple ctrl+f.
Related
I am looking for a Drupal 7 extension for displaying a lot of PDF documents in a fashionable way. Preferably with search option to search through the pdf documents that are in a particular folder. Any ideas?
There's really no need for an extension.
design and create a PDF Document content type [admin/structure/types/add]
create a view with exposed filters [admin/structure/views/add]
Easy as that.
You can naturally improve your catalogue with:
A library to extract meta info from PDF docs [ example : http://www.pdfparser.org/], for a faster creation of nodes [node/add]
Some CSS styling
I am using Karma commercial template. I have make the plugin for to upload document or any type of file, which will save in database and give option of Preview in front end. I have search many plugins for the same. I don't want to download the file but only wanted to preview the file in read only mode.Please help for the same.
I have used javascript code using javascrip plugin:
var documentViewer = $('#document-preview').documentViewer();
But it is not usefull for word file as it is useful for image, pdf and text file.
The Google Document Embedder plugin allows you to display files (PDF, Word, etc.) and has options that will prevent downloads.
http://wordpress.org/plugins/google-document-embedder/
I've built a content type to handle document upload. My content type uses a Book node to handle directories/subdirectories and I would like to show a couple of Views that shows the directories structure. When clicking on a directory I would like to show, in another view, all the documents inserted in that directory.
Do you know any existing examples of Views/Panels? That shows a similar structure, as in the Windows Explorer, using Views2?
You can use this module: views_tree
Also tree-like can be built via argument handlers...
when i click to the info Button next to the Filename in a Workspace there is shown a Preview of the PDF File, but i can't find this Preview in the Database or in the Filesystem, anybody know where it will be generated?
Regards
Rene
The flash preview of the PDF stored as a rendition of the actual document. It is stored as cm:thumbnail object as a child (rendition child association) of the PDF document and has the thumbnail name (i.e. thumbnails type) "webpreview".
Use the Alfresco Node Browser, find your PDF document and check it's child associations. You should find the webpreview there. From it's contentUrl you can even find the file in the content store (i.e. on you harddisk).
A preview should be an instance of a rendition in Alfresco. Nodes in Alfresco can have more than 1 rendition (e.g. different quality thumbnails). Renditions of nodes in Alfresco are themselves stored as nodes again, so you should be able to find them using the node browser in the admin panel.
If you navigate to the object using the Node Browser and look at its children, assuming you have already viewed the document in a document library list in Share and have opened the details page to see the preview, you'll see two children listed. One is named "doclib" and the other is named "preview". If you navigate to the doclib child, you will see that it is a PNG. That's the thumbnail shown in the document library list. If you navigate to the "preview" child, you'll see that its mimetype is Flash. That's the flash preview.
If you do not see the flash preview object it is possible that your pdf2swf binary isn't installed correctly or you haven't pointed to it properly in your alfresco-global.properties file.
I'm very new to Drupal, and am wondering if there's an API that external programs can call to transfer text and images directly into my Drupal site.
Yes. There are several ways to accomplish this in Drupal:
If you're doing a one-time import, try the Node Import module --- this lets you import content from a CSV file.
If you want your Drupal site to provide a web-based API to which new content can be POSTed (via, for example, XMLRPC), check out the Services module.
If you want your Drupal site to periodically retrieve content from other sites (RSS feeds, for example), check out FeedAPI.
If you want to write your own PHP code to create new content, check out this article for an introduction.
Not sure what you mean by having a module for importing text, but there is one specifically for images: the Image module. Here is an excerpt from its project page:
... allows users with proper permissions to upload images into Drupal. Thumbnails and additional sizes are created automatically.
Images could be posted individually to the front page, included in stories or grouped in galleries.
Importing text can be performed directly as one of the other existing entity types.