This is very advanced features when you want to show the list of Article's Titles from one of another blog or a different blog that you want to share with your blog readers.
You can able to retrieve the basic contents as title, link, description, date, summary etc in a list format. For doing such, you need to install "MAGPIE" plugin with your current Expression Engine.
Installation Steps:-
1. Download MAGPIE first.
2. Extract the downloaded zip file.
3. Copy the pi.magpie.php inside EE System folder through any common FTP program.
4. Login to your active EE Admin area.
5. Create a new template and name accordingly.
6. Type the following code there :-
7. Save the Template and run to see how it fetch records from any available RSS feed.
The tag has three parameters:
1. url - The URL of the RSS or Atom feed.
2. limit - Number of items to display from feed.
3. offset - Skip a certain number of items in the display of the feed.
4. refresh - How often to refresh the cache file (in minutes). The plugin default is to refresh the cached file every three hours.
Example opening tag: {exp:magpie url="http://example.com/rss/" limit="8" refresh="720"}
Wednesday, March 17, 2010
Friday, December 4, 2009
Tags in ExpressionEngine
The Tag Module allows you and your users to add Tags to weblog and/or photo gallery entries for ExpressionEngine. It's a very powerful module that allows you to create several different features in your templates using robust functions. You can show Tags that belong to an entry, view all entries that are Tagged with a specified Tag, show related entries based on shared Tags, and build a Tag "Cloud" to show and weigh all Tags in system. Additionally, your members can also subscribe to Tags, and view entries based on Tags they've subscribed to.
If you already have a Tagging system where Tags are placed into a custom field, or if you've manipulated the Tag "feel" by assigning your entries to several EE categories, the Tag module can easily transition your website. Using the built in Harvesting utility, you can easily harvest this data, and it will automatically convert all into Tags and apply them to your entries.
The Tag module adds a clean, robust AJAX tab to your Publish/Edit Entry page in the CP where you can easily add Tags, search for Tags, or scan your custom fields for Tags using the "Suggest" function.
NOTE: Tag requires ExpressionEngine 1.6.x, MySQL 4.1+, and the jQuery for the CP extension.
Following code is for showing tags related for a single entry:-
Tag cloud :-
The Tag:Cloud function creates a "cloud" or list of all Tags in the database, but can be filtered down to specific weblogs, categories, and more. Furthermore, the Tag:Cloud function is able to "weigh" your Tags through different methods, such as how many entries are assigned to them, or how many times they've been clicked.
To help you understand the weighting system, using rank by "entries" that have been assigned that Tag, here is an explanation:
The number of times the highest ranked Tag is used establishes the top of the scale with 0 as the bottom. You can specify the number of groups into which your Tags will be sorted. Each of your Tags will be evaluated as to which group they belong in. They will be given a numerical ranking based on this.
For example, imagine you have 3 Tags on your site; "apple", "orange" and "microsoft". You specify that you want to show a cloud with 3 groups. If "apple" is used 12 times, "orange" 7, and "microsoft" 1, the top of your scale will be 12. "apple" will get the highest rank and the largest font size. "microsoft" will get the smallest ranking and font size. "orange" will get the middle font because it falls into the middle grouping. The range for falling into the lowest group would be 0-4. For the middle, 5-8. And for the top, 9-12. Use following code:-
List of Entries for Each Tag :-
If you already have a Tagging system where Tags are placed into a custom field, or if you've manipulated the Tag "feel" by assigning your entries to several EE categories, the Tag module can easily transition your website. Using the built in Harvesting utility, you can easily harvest this data, and it will automatically convert all into Tags and apply them to your entries.
The Tag module adds a clean, robust AJAX tab to your Publish/Edit Entry page in the CP where you can easily add Tags, search for Tags, or scan your custom fields for Tags using the "Suggest" function.
NOTE: Tag requires ExpressionEngine 1.6.x, MySQL 4.1+, and the jQuery for the CP extension.
Following code is for showing tags related for a single entry:-
Tag cloud :-
The Tag:Cloud function creates a "cloud" or list of all Tags in the database, but can be filtered down to specific weblogs, categories, and more. Furthermore, the Tag:Cloud function is able to "weigh" your Tags through different methods, such as how many entries are assigned to them, or how many times they've been clicked.
To help you understand the weighting system, using rank by "entries" that have been assigned that Tag, here is an explanation:
The number of times the highest ranked Tag is used establishes the top of the scale with 0 as the bottom. You can specify the number of groups into which your Tags will be sorted. Each of your Tags will be evaluated as to which group they belong in. They will be given a numerical ranking based on this.
For example, imagine you have 3 Tags on your site; "apple", "orange" and "microsoft". You specify that you want to show a cloud with 3 groups. If "apple" is used 12 times, "orange" 7, and "microsoft" 1, the top of your scale will be 12. "apple" will get the highest rank and the largest font size. "microsoft" will get the smallest ranking and font size. "orange" will get the middle font because it falls into the middle grouping. The range for falling into the lowest group would be 0-4. For the middle, 5-8. And for the top, 9-12. Use following code:-
List of Entries for Each Tag :-
Friday, September 11, 2009
List of Articles for each author in ExpressionEngine
Below blog will describe the process to make a new page for article-list of each author. In the article list page OR article details page make a link from "Author Name" of that article with this new template/page. It will show you the list of articles published by that author. It will very useful for such blogging or news site, those have multiple authors and want to create such type of page.
There will be 2 templates for such, one will search the Article titles as per Author name and other will just embed that template and show in a decent manner.
Author Page:-
This template will show the list of articles of each author. Prepare the page-design as per your need and place the following type of of code in the body area OR where you want to show the list:-
Query Page:-
Following template is mainly responsible for searching the articles as per the author name from the database and prepare the list:-
Article List or View page Update :-
Just put the below type link from the Article author name with the Author page template as follows:-
If you face any difficulty to integrate these code, feel free to put comments here. We will try to fix the problem.
There will be 2 templates for such, one will search the Article titles as per Author name and other will just embed that template and show in a decent manner.
Author Page:-
This template will show the list of articles of each author. Prepare the page-design as per your need and place the following type of of code in the body area OR where you want to show the list:-
Query Page:-
Following template is mainly responsible for searching the articles as per the author name from the database and prepare the list:-
Article List or View page Update :-
Just put the below type link from the Article author name with the Author page template as follows:-
If you face any difficulty to integrate these code, feel free to put comments here. We will try to fix the problem.
Monday, September 7, 2009
Including YouTube videos & image and how they should be displayed in the EE Articles
Task Details :-
The editor can insert youtube videos by the following procedure:
• Includes in the text of the article the following tag: {YOUTUBE_VIDEO_MIDDLE}
• Enter the identifier in the custom field “youtube”
• Enter the alignment in the custom field “youtube_align”.
There are two problems related to the insertion of youtube videos:
• If the editor enters a youtube video, but also an image, the re-sizing of the image is not working as it should in the permalink.
• If the user enters a you-tube video in place of the image (i.e. on the top-left), it is not being displayed of the appropriate size in the Artcle List page.
Action desired:
• If a youtube video is inserted in the middle of the article (not on the top-left) and an image is inserted in the right usual place (top-left):
o The size of the image should be height 90px (for Article List page) and height 200px (for permalink).
o The size of the video in the permalink should be 230px width.
• If a youtube video is inserted at the top-left instead of an image:
o The video’s height in the Article List page should be 90px.
o The video’s width in the permalink should be 230px.
YouTube Template:-
Article List Page:-
Permalink Page :-
The editor can insert youtube videos by the following procedure:
• Includes in the text of the article the following tag: {YOUTUBE_VIDEO_MIDDLE}
• Enter the identifier in the custom field “youtube”
• Enter the alignment in the custom field “youtube_align”.
There are two problems related to the insertion of youtube videos:
• If the editor enters a youtube video, but also an image, the re-sizing of the image is not working as it should in the permalink.
• If the user enters a you-tube video in place of the image (i.e. on the top-left), it is not being displayed of the appropriate size in the Artcle List page.
Action desired:
• If a youtube video is inserted in the middle of the article (not on the top-left) and an image is inserted in the right usual place (top-left):
o The size of the image should be height 90px (for Article List page) and height 200px (for permalink).
o The size of the video in the permalink should be 230px width.
• If a youtube video is inserted at the top-left instead of an image:
o The video’s height in the Article List page should be 90px.
o The video’s width in the permalink should be 230px.
YouTube Template:-
Article List Page:-
Permalink Page :-
Labels:
add video to ee articles,
image,
list page,
permalink
Friday, September 4, 2009
Including a YouTube video in ExpressionEngine articles
Following blogs are details of including a YouTube video in articles of EE. The video should be displayed instead of the usual image, i.e. on the top left of the article OR any other position where you want to set.
References
http://expressionengine.com/wiki/Embedding_YouTube_movies/
http://expressionengine.com/wiki/Embedding_YouTube_Movies_w_Reusable_Template/
This is the template used to display the articles in the following format:

We have to update this as follows with following features:-
• Width of 230px.
• Height proportional as per usual proportions of YouTube videos.
• The text should appear around the video, as shown in the image above.
Solution :-
1. We first include a new field as "Video_Name" for the weblog to enter the YouTube Video link.
2. Prepare a Blog with a youtube video link such as http://www.youtube.com/watch?v=T70xKdjuK8A
3. Save the blog.
4. Open the template who is responsible to show the article details.
5. Use this following code:-
References
http://expressionengine.com/wiki/Embedding_YouTube_movies/
http://expressionengine.com/wiki/Embedding_YouTube_Movies_w_Reusable_Template/
This is the template used to display the articles in the following format:

We have to update this as follows with following features:-

• Width of 230px.
• Height proportional as per usual proportions of YouTube videos.
• The text should appear around the video, as shown in the image above.
Solution :-
1. We first include a new field as "Video_Name" for the weblog to enter the YouTube Video link.
2. Prepare a Blog with a youtube video link such as http://www.youtube.com/watch?v=T70xKdjuK8A
3. Save the blog.
4. Open the template who is responsible to show the article details.
5. Use this following code:-
Subscribe to:
Comments (Atom)