Dynamic News Articles

Hi, I am building a website which my client wishes to edit
through contribute.
They need to add news items daily which is fine, however I
want to display summaries of the last 3 articles, on the right hand
side of every page. If I had a database storing the articles this
way would be easy but from what I see, Contribute doesn't work this
way.
Has anybody found a workaround of this problem? I don't want
to make them use two separate admin systems.
Thanks,
Mark

For our main Web site, we enter news items into a WordPress
blog. A
small bit of PHP code selects two recent headlines at random
from the
MySQL database that stores the blog, then puts them on the
right side of
the home page. It would be just as easy to pick the three
most recent posts.
Contribute 4.0 and higher can be used to create & edit
WordPress posts,
but you'll still need to maintain the WordPress software and
do regular
updates. However, WordPress comes with a Web-based control
panel system.
- Kevin
poolstar_uk wrote:
> Hi, I am building a website which my client wishes to
edit through contribute.
>
> They need to add news items daily which is fine, however
I want to display
> summaries of the last 3 articles, on the right hand side
of every page. If I
> had a database storing the articles this way would be
easy but from what I see,
> Contribute doesn't work this way.
>
> Has anybody found a workaround of this problem? I don't
want to make them use
> two separate admin systems.
>
> Thanks,
>
> Mark
>

Similar Messages

  • How can I add news articles to website and dynamically update headlines without MySQL?

    Hi guys,
    I update a number of website for athletes with news articles...
    I'm doing it manually at the moment so I have to update:
        1. news.php (with date and article title which links to the article)
        2. News Article (with title, date and article text)
        3. includes/latestNews.php (an include latest 3-4 article dates and headline which links to the article - displays on every page via include)
    The News Article is a plain and simple PHP file which is stored in a folder 'assets/news/' and the file is named according to date i.e. a news article today would be 130420 (as in 2013 year, 04 month, 20 day) so they sit in chronological order in the 'news' folder. There is a template page file called viewArticle.php which drags in the appropriate news article by link i.e. viewArticle.php?id=130420
    At the moment, I have to update news.php, latestNews.php and the individual article individually and manually.
    What I would like to do is...
    ...create, edit and add the News Article file (130420) to the 'news' foler as I am currently doing. But, with PHP, set news.php and latestNews.php to read the files in the 'assets/news/' folder to display the latest 4 article dates and linked headlines (for latestNews.php) and display all the dates and linked headlines (for news.php).
    I don't know anything about databases and can't get my head around them so I would rather do it with PHP code. Is this possible?
    Thank you very much and I hope to hear from you.
    SM

    This seems like a follow up question to your earlier one
    http://forums.adobe.com/thread/1195549
    Have you considered setting this site up as a blog such as Wordpress?
    You could then automate much of what you're attempting with a few well chosen point-and-click plugins without touching any code.

  • Dynamic news page linked from XML

    Basically I'm able to bring HTML into my flash dynamic text
    fields, that's fine.
    But what I WANT to do is have an XML file load all the
    seperate elements into differently formatted video clips.
    I want it displayed HEADER, then DATE then CONTENT, with a
    limit on articles (say 15 a page) in a scrolling content area. I've
    not really played with this side of ActionSCript too much.
    At the moment I have the skeleton of the idea set up, but I'm
    starting to become concerned that I'm on the wrong path... I'm
    kinda stuck about what to do to seperate the elements so that they
    display under each other (obviously each news article will have a
    variable length). An example of this idea can be seen on the NEWS
    page at
    http://www.wolfmother.com.
    This is where I'm at atm, anyone wanna nudge me in the right
    direction?

    Yes actually you can dynamically type variables in Flash /
    Flex using something similar to this.
    var myDynamicObject:* = whatEverObjectIFeelLikePuttingHere;
    Perhaps what might help to accomplish your goal is to use
    reflection inside of Flex. It is possible to use (although somewhat
    irritating) reflection in Flex using a form similar to this.
    var content:Class = getClassFromPath(objectClassPath);
    newComponent = new content();
    addChild(newComponent);
    The only problem is that the compiler will scrub any
    variables/classes that are not currently being referenced, at least
    once, somewhere in the application. So somewhere in your
    application you must have a reference for the class, even if it set
    to null, so that the class will not be removed from the project.
    It's also possible that the describeType function might be of
    some use.
    Here are two references that describe each.
    http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=580
    http://weblogs.thekeunster.com/?p=10
    Utilizing these features it's possible to do quite a bit to
    reshape your application based on data stored outside your
    application or on parameters only known at runtime.

  • Dynamic News Error

    Hi guys,
    I am getting the following error when I try to search through the news articles in the Dynamic News Example that Oracle provides. I have no problem seeing categories, so I am connected to the database, but I don't understand why it would try to issue a rollback.
    java.sql.SQLException: calling rollback() is not allowed on a container-managed transactions Connection
         at com.evermind.sql.OrionCMTConnection.rollback(OrionCMTConnection.java:422)
         at com.evermind.sql.FilterConnection.rollback(FilterConnection.java:196)
         at com.evermind.server.ejb.DataSourceConnection.close(DataSourceConnection.java:155)
         at UsersLocal_CategoriesLocal_ORCollection27.getObjects(UsersLocal_CategoriesLocal_ORCollection27.java:126)
         at com.evermind.server.ejb.ORCollection.iterator(ORCollection.java:74)
         at oracle.otnsamples.xmlnews.business.UsersBean.getCategoryList(Unknown Source)
         at UsersLocal_EntityBeanWrapper16.getCategoryList(UsersLocal_EntityBeanWrapper16.java:2148)
         at oracle.otnsamples.xmlnews.services.UserServiceBean.getUserProfile(Unknown Source)
         at UserService_StatelessSessionBeanWrapper4.getUserProfile(UserService_StatelessSessionBeanWrapper4.java:1157)
         at oracle.otnsamples.xmlnews.controllers.UserController.authUserMainPage(U[i]Long postings are being truncated to ~1 kB at this time.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by wang wanding ([email protected]):
    I have encountered a error when I installed Dynamic News Sample and build it in JDeveloper3.1.
    The main environments are: Oracle8.1.6, Java1.2 , Oracle XML Parser2 for Java , Oracle XSU12.
    The error is:
    "method endElement(java.lang.object) not found in class
    oracle.xml.sql.docgen.OracleXMLDocGenDom."
    If you can help me, I will always remember you.
    <HR></BLOCKQUOTE>
    null

  • New Article - RoboHelp projects with Subversion and TortoiseSVN

    Some folks have posted questions about Subversion and TortoiseSVN in this forum, so I thought I'd pass along this new article I found in the Adobe Developer Network this week that goes in to detail on how to set up this open-source solution with RoboHelp:
    http://www.adobe.com/devnet/robohelp/articles/robohelp_subversion.html
    Thanks
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

    Thread moved to Source Control forum.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • RFC: Introduce new 'Article/Tutorial (Comment) Threads' in the Web Dynpro Forum

    Some time ago I've suggested on SCN Support is both forum moderator and most active articles wrtiter
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net
    Message was edited by: Bertram Ganz
    This thread was branched from forum thread: How to print the data of a Model node.

    Hi Valery,
    thanks for this great idea. Indeed, there is no channel set up to communicate feedback/suggestions/questions to Web Dynpro tutorials or articles in a standardized way.
    WebLogs can be commented on the WebLog page itself and they are announced in a special ;\ New Web Dynpro Weblogs which can be opened via the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">Web Dynpro Feature2Sample Matrix</a>. Actually the section 'Further Information' lists all related articles, WebLogs etc. These links are regularly updated so that the Sample Description Pages helps to keep all links to valuable information in a central place.
    The 'Sample Description Page' should additionally comprise a section <b>'Discussion'</b> with a link to the above 'Article Comment Thread' in the Web Dynpro forum. The reader downloads the material from the sample description page and also finds a link to the related 'Article Comment Thread' there.
    For all new articles (which are combined with a related 'Article Comment Thread') the <i>Further Information</i> links could point to the 'Article Comment Thread' (which then itself links to the article) but not directly to the article resource. The reader can then also have look at the existing comments to the related resource. As an alternative the article PDF itself should have a permanent link to the 'Article Comment Thread' in the Web Dynpro Forum.
    Please post your comments on this idea.
    Regards, Bertram

  • Trx. MM41: Creation of new article data

    Hi togehter,
    I've a special question regarding tax data proposal in the area of SAP Retaill - Creation of new article data.
    We've distribution centers in different countries.
    If I create a new article masterdata for a sales organization assigned to Austria and a distribution center
    assigned to Italy I get the following tax data proposal (if I enter '1' in field MARA-TAKLV):
    IT     Italy     MWST     Output tax               1     Full tax    
    IT     Italy     LCIT        VAT license Italy      1    Full tax    ->     error: the category LCIT does not define classification 1 (only 0)
    I assume that the entry LCIT comes from table TSKM.(material taxes).
    Now my question.
    We don't need the entry LCIT. It is possible or it is the right way to delete the entry named before?
    Or should we create a new entry?
    Thanks in advance for your help/info.
    Best regards
    Frank

    Moved from SAP ERP SD Sales to SAP for Retail.  Please try to post in the right forum to get right direction to your requirement / issue.  Also go through the following blog which will help you.
    Find Topic Spaces on SCN (Forums)
    G. Lakshmipathi

  • Firefox closes a document after opened. Hard to read news articles on some sites. Getting very tired of article closing one paragraph into it.

    Firefox continues to close documents after opened on some sites. News articles opened will close after opened. Very upsetting to have to switch to another browser just to read an article. It also closes down Amazon.com after opened. It is not just one URL. Cache has been cleared, spy ware cleaned, and no viruses. Very frustrating.
    == URL of affected sites ==
    http://

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • A question about Dynamic News Sample.

    I have encountered a error when I installed Dynamic News Sample and build it in JDeveloper3.1.
    The main environments are: Oracle8.1.6, Java1.2 , Oracle XML Parser2 for Java , Oracle XSU12.
    The error is:
    "method endElement(java.lang.object) not found in class
    oracle.xml.sql.docgen.OracleXMLDocGenDom."
    If you can help me, I will always remember you.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by wang wanding ([email protected]):
    I have encountered a error when I installed Dynamic News Sample and build it in JDeveloper3.1.
    The main environments are: Oracle8.1.6, Java1.2 , Oracle XML Parser2 for Java , Oracle XSU12.
    The error is:
    "method endElement(java.lang.object) not found in class
    oracle.xml.sql.docgen.OracleXMLDocGenDom."
    If you can help me, I will always remember you.
    <HR></BLOCKQUOTE>
    null

  • Create new article:  BAPI_MATERIAL_MAINTAINDATA_RT

    Hi all,
    When i try to create a new article by using BAPI_MATERIAL_MAINTAINDATA_RT i am getting the follow success message M3801 ("Material & changed") but article is not created. After sending the BAPI_MATERIAL_MAINTAINDATA_RT and returning without an error I call a BAPI_TRANSACTION_COMMIT. How can I resolve this? Thanks in advance.
    Best Regards
    Gabriel.

    Hi,
    Thanks in advance. If i create an article using BAPI_MATERIAL_SAVEDATA then there is not using transaction MM43...
    Best Regards
    Gabriel

  • How to use a formula for dynamic New Page After?

    There is a formula for dynamic New Page After.
    How do I get value of formula?
    I am using RAS and the ReportClientDocument.

    There is a section object.  Off that there is a format property that is of type sectionformat.  From there there is a ConditionFormulas property which I believe is a collection of all the formulas you can set for a section.

  • How to sort news articles from Oldest(from the current date) to newest?

    I have a list of news announcements from the month of "Jan 2015" to "Dec 2015". For example each month having a one event, so totally 12 events. But I need to display the latest news articles from current date of latest upcoming news at the top(i.e. May 2015) to farthest at the bottom(i.e. Dec 2015)

    Try with sort!
    {module_announcement sort="datereverse"} or {module_announcement sortType="datereverse"}. I'm not sure what syntax we use with the new render engine.
    With the old syntax it would be {module_announcement,filter,id,noTemplate,effect,targetFrame,reserved,reserved,reserved,r eserved,sort}

  • SQL Server Transacational Replication Issue while adding a new article

    I have a "PULL" transaction replication toplogy (SQL server 2008 R2 - publisher,subscriber & distributor) in place and is working fie. I added a new article (table) using sp_addarticle and it works fine. Then I tried to add subscription
    to the new article using sp_adddsubscrition SPROC from the publisher (details below)
    EXEC sp_addsubscription @publication = @pub_name, @article = @article_name, @subscriber = @sub_server, @destination_db   
    = @sub_dbname, @subscription_type = N'pull',@update_mode = N'read only', @sync_type = 'sutomatic', @status = 'active', 
    @reserved ='Internal'
    I tried with all combination of values in the @sync_type parametr,
    The above command fails with the following message:
    Msg 14100, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 533;
    Specify all articles when subscribing to a publication using concurrent snapshot processing.
    The sync_type value parameter is "replication support type" when the subscrition was added orginally to the publication. This trsnslates into a value of 3 (CONCURRENT)  in sync_method
    column on the outpout of sp_helppublication SP execution.
    What am I doing wrong? Please advise. Your help is much appreciated.
    Thanks in advance
    Kirti

    Thanks for your reposne, Mr. Cottr.
    It was a type-oin the value for @sync_type parameter in the sp_addsubscription call when I posted this article originally. It was actually set to "automatic".  I have posted the scripts per your request. These scripts are executed in SQLCMD mode in
    SSMS query qindow. Since this is a PULL subscription, thre is another script for pP-addpullsubscription that is not incldued in this post. If you need that also, I will be glald to post that also. Thanks again for your help.
    -->>>>>sp_addpublication:
    USE [master]
    GO
                           SQL Server Transactional Replication Related Scripts
    Function: Configuring publication on the database at the publisher
    -- TO DO: Parameters to set before executing this TSQL batch script
    :SETVAR pub_dbname                TestDB
    :SETvar pub_name                  TestDB-TranPub01
    :SETVAR distributor               DISTRIBSVR
    :SETVAR repl_admin_account        <domain>\<account_name>
                                       --replication admin account for non-prod environment
    :SETVAR repl_admin_password       <pwd>
                                       --password for replication admin account
    USE [$(pub_dbname)]
    SET NOCOUNT ON
    IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
    BEGIN
       RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
       RETURN
    END
    DECLARE @dynsql                        sysname
           ,@repl_ddl                      int
           ,@allow_initialize_from_backup  varchar(5)
    SET @repl_ddl                     = 1       -- preferred value is 0 (replication of DDL statements prohibited; manually enabled
    when needed only)
    SET @allow_initialize_from_backup = 'true'  -- preferred /do not change this value
    -- Adding the transactional publication
    DECLARE @desc     varchar(255)
    SET @desc = 'Transactional replication of database ' + QUOTENAME('$(pub_dbname)') +
                ' from publisher ' + QUOTENAME(@@servername) + '; Publication: ' + QUOTENAME('$(pub_name)')
    PRINT '1. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
    EXEC sp_addpublication
         @publication                  = '$(pub_name)',
         @description                  = @desc,
         @retention                    = 0,
         @add_to_active_directory      = N'false',
         @allow_push                   = N'false',      -- push subscription disabled
         @allow_pull                   = N'true',       -- pull subscription enabled
         @allow_anonymous              = N'false',   
         @allow_sync_tran              = N'false',
         @allow_queued_tran            = N'false',
         @allow_dts                    = N'false',
         @allow_initialize_from_backup = @allow_initialize_from_backup,
         @allow_subscription_copy      = N'false',
         @compress_snapshot            = N'false',
         @enabled_for_internet         = N'false',    
         @enabled_for_p2p              = N'false',
         @independent_agent            = N'true',
         @immediate_sync               = N'false',     
         @repl_freq                    = N'continuous',
         @replicate_ddl                = @repl_ddl,
         @snapshot_in_defaultfolder    = N'true',
         @status                       = N'inactive',   -- initialy publication is inactive / activated later after articles
    are added to the pblication
         @sync_method                  = N'concurrent'  -- preferred
    IF @@ERROR <> 0 RETURN
    PRINT '2. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
    EXEC sp_addpublication_snapshot
          @publication                 = '$(pub_name)',
          @frequency_type              = 1,
          @frequency_interval          = 1,
          @frequency_relative_interval = 1,
          @frequency_recurrence_factor = 0,
          @frequency_subday            = 8,
          @frequency_subday_interval   = 1,
          @active_start_time_of_day    = 0,
          @active_end_time_of_day      = 235959,
          @active_start_date           = 0,
          @active_end_date             = 0,
          @job_login                   = '$(repl_admin_account)',
          @job_password                = '$(repl_admin_password)',
          @publisher_security_mode     = 1,             --Windows authentiction
          @publisher_login             = '$(repl_admin_account)',
          @publisher_password          = '$(repl_admin_password)'
    IF @@ERROR <> 0 RETURN
    PRINT 'Executing sp_helppublication for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
    EXEC sp_helppublication @publication = '$(pub_name)'
    PRINT 'Executing sp_helppublication_snapshot for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
    EXEC sp_helppublication_snapshot @publication = '$(pub_name)'
    --->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    -->>>>sp_addsubscription
    USE [master]
    GO
                           SQL Server Transactional Replication Related Scripts
    Function: Register the (pull) subscription at the subscriber
    -- TO DO: Parameters to set before executing this TSQL batch script
    :SETVAR publisher_dbname          TestDB
    :SETvar publication_name          TestDB-TranPub01
    :SETVAR subs_server               SUBSVR
    :SETVAR subs_dbname               TestDB
    :SETVAR distributor               DISTRIBSVR
    :SETVAR repl_admin_account        <domain>\<account_name
                                      --replication admin account for non-prod environment
    :SETVAR repl_admin_password      <pwd>
                                      --password for replication admin account
    USE [$(publisher_dbname)]
    SET NOCOUNT ON
    IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
    BEGIN
       RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
       RETURN
    END
    DECLARE @dynsql                        sysname
           ,@distibutor                    sysname
           ,@subscriber                    sysname
           ,@pub_dbname                    sysname
           ,@pub_name                      sysname
           ,@pub_login                     sysname
           ,@pub_password                  sysname
           ,@dest_dbname                   sysname
           ,@job_login                     sysname
           ,@job_password                  sysname
           ,@repl_ddl                      int
           ,@allow_initialize_from_backup  varchar(5)
    SET @pub_dbname                   = '$(publisher_dbname)'
    SET @pub_name                     = '$(publication_name)'
    SET @subscriber                   = '$(subs_server)'
    SET @dest_dbname                  = '$(subs_dbname)'
    SET @distibutor                   = '$(distributor)'
    SET @job_login                    = '$(repl_admin_account)'  
                                         -- used by replication agents to connect
    to publisher for queued updating subscriptions
                                         -- make sure account has DBO access on subscriber
    db
    SET @job_password                 = '$(repl_admin_password)'
    PRINT '1. Adding subscriber for pull subsctiption of publication ' + QUOTENAME(@pub_name) + ' on database ' + QUOTENAME(@pub_dbname) + ' ...'
    EXEC sp_addsubscription
         @publication       = @pub_name,
         @article           = 'all',
         @subscriber        = @subscriber,
         @destination_db    = @dest_dbname,
         @subscription_type = N'pull',
         @update_mode       = N'read only',
         @sync_type         = 'replication support only',
         @status            = 'active'
    IF @@ERROR <> 0 RETURN
    Execute sp_helpsubscription @publication = 'FTBTrade_TEST-TranPub01'
    --@pub_name

  • Dynamic news feed

    Hi!
    I want to build a dynamic news feed for my application. By example, I have 5 news stored in a database, and I want to view them one at a time and the viewed news change after each 5 seconds. Any idea how to do this with webcenter or if there is already a component that does it? I have searched a lot, but I didn't find any clue about it and no tutorial.
    Thanks a lot!

    You can try jquery to achieve your desired result.
    for reference you can visit the following link-
    http://www.tripwiremagazine.com/2009/08/25-awesome-slider-techniques-need-to-have-for-any-web-developer.html
    where by using slider you can display the news in certain timeframe.
    Hope it helps you.
    Regards,
    Hoque

  • Jar package for XML Dynamic News

    Where I will find *.jar package for XML Dynamic News?

    Hi,
    You have downloaded the old sample application. The latest XML Dynamic News application is certified for Oracle 9.2.0.2 database which uses Oracle XML DB and J2EE features. For the latest application sample jar to be uploaded, we are waiting for the patch release of database on OTN.
    We are sorry for the inconvenience caused and will keep you updated about the sample application release.
    Thank you.
    Savitha.

Maybe you are looking for

  • HP Pavilion DV6t-3100 CTO Entertainment Notebook PC - Upgrade hard drive to SSD and windows 8?

    I want to upgrade my hard drive (WDC WD6400BEVT-60A0RT0) to SSD for faster performance AND upgrade to Windows 8. How should I proceed? Which should come first? I am not very knowledgeable about these things, but I have changed hard drives before -- n

  • Upgrade pricing

    If I were to upgrade from final Cut Express to Final Cut Pro how much would I save as opposed to buying Final Cut Pro up front?

  • ITunes 7.5 Installation error for Windows

    Hi everybody. I have a fresh system (Windows XP Home Edition) on my Laptop (Acer) from brand CD Images (Acer). The only thing I've done - it's put the SP2 on it. That's all. I've downloaded latest version of ITunes 7.5 - iTunes75Setup.exe file from a

  • I need a CS4 serial number (Web Prem - Student)

    Hello, I purchased CS4 Web Premium for Students a few years ago. However, I never got around to properly installing it until now (LONG story...). I just launched Photoshop but it is asking me for a serial number in order to continue - the trial versi

  • Flash Player 10.2 won't update

    I work on a 32bit Windows7 laptop, with HDD 500GB and 4GB Ram. Since the beginning of Marchl, I haven't been able to update Flash Player; when I get an update warning, and try to run it, I get a message saying I already have a previous version of FP