archives of several weblogs?
Posted: 29 November 2007 06:54 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  02-25-2006

Hello,

I’m working on a site here:

In the Robotics section at http://robotics.pmhclients.com/index.php/robotics/ we have 6 weblogs to power out articles. They are grouped by weblog rather than by category structurally.

The question is, how do you make a archive by year or months of several weblogs at once on the same page? I just don’t understand how you would make each entry in the archive link to their respective weblog when you click on it? I understand how to do it if there is only one weblog, but several has me stumped.

Any ideas?

Thanks!

Profile
 
 
Posted: 29 November 2007 06:54 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  36401
Joined  05-14-2004

Kevin, are you using a weblog entries tag? What is your current code?

 Signature 
Profile
MSG
 
 
Posted: 29 November 2007 07:11 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  02-25-2006

Hello,

For the the actual weblog/article entries? Like here? http://robotics.pmhclients.com/index.php/academics_research/article/zoom_babies_learn_to_ride_robots_at_the_university_of_delaware/

Profile
 
 
Posted: 29 November 2007 07:12 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  36401
Joined  05-14-2004

Let me re-phrase, what kind of output do you want for the archive listing?

 Signature 
Profile
MSG
 
 
Posted: 29 November 2007 07:15 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  02-25-2006

Actually something very similar to how Veerle does it at http://veerle.duoh.com/blog/archives/

We would like to have a archive of all the articles from all the article weblogs for each month, so they correspond to the current or monthly issue of the magazine they have.

thanks!

Profile
 
 
Posted: 29 November 2007 07:16 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  02-25-2006

But if you have any suggestions on how to do it better with how we are structuring the article, Im open.

Profile
 
 
Posted: 29 November 2007 07:23 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  02-25-2006

Here’s the code for the article page we are using:

{exp:weblog:entries weblog="{personal_weblog}" require_entry="yes" limit="1" track_views="one" disable="member_data|trackbacks" paginate_type="field" paginate="bottom" }
<p>{categories}<a href="{path=personal_robotics/}"><b>{weblog}</b></a> | {category_name} | {short}: {view_count_one} Views{/categories}<br/></p>
{if no_results}
<p class="broken-url">We're sorry but the URL you've entered might be broken or not online anymore.</p>
{/if}

<div class="entry">
  
{if image1 != ""}
  {related_entries id
="image1"}
<img class="article-photo2" src="{medium_url}" />
    
{/related_entries}
{
/if}

<h2 class="title">{title}</h2>
{if image3 != ""}
  {related_entries id
="image3"}
     
<img class="article-photo2" src="{medium_url}" />
    
{/related_entries}
{
/if}
{multi_field
="body|extended|page3|page4"}

{embed
="includes/.article_728_90"}
{paginate}

  {if image2
!= ""}
  {related_entries id
="image2"}
     
<img class="article-photo2" src="{medium_url}" />
    
{/related_entries}
{
/if}

  {if image4
!= ""}
  {related_entries id
="image4"}
     
<img class="article-photo2" src="{medium_url}" />
    
{/related_entries}
{
/if}

</div>



<
p>Page {current_page} of {total_pages} pages for this article {pagination_links}</p>
{/paginate}

{
/exp:weblog:entries}
Profile
 
 
Posted: 29 November 2007 08:11 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  36401
Joined  05-14-2004

For a list of all articles by month, you could simply use the weblog entries tag, piping in multiple weblogs to the weblog=, and using a date_heading for the header…. that would more than likely be how Veerle has set up the title list.

 Signature 
Profile
MSG
 
 
Posted: 30 November 2007 09:06 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  02-25-2006

Thanks Lisa!

I actually did some reading on the forums and the docs and found out how to do the linking to the different weblogs, through the variable {comment_url_title_auto_path}

I had to set the path though for the comment url in weblog settings.

thanks!

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 77572 Total Logged-in Users: 31
Total Topics: 101562 Total Anonymous Users: 22
Total Replies: 544412 Total Guests: 251
Total Posts: 645974    
Members ( View Memberlist )
Newest Members:  Mark2009Idril616tonybernardcarterstarksColeJLinskitnealsemperjrawhallshiusbozzly