RSS RFC-822 Date format

I've set up an rss feed using the example on
http://www.geekpedia.com/tutorial157_Create-an-RSS-feed-using-ASP.NET-2.0.html
However I use MS Access db and I would like to have the right
date format
which I belive is RFC-822.
I'm in Europe and currently my date output looks like this
<pubDate>18-06-2007 20:51:19</pubDate>
<asp:AccessDataSource ID="AccessDataSource1"
runat="server"
DataFile="d:\web\database\news.mdb"
DataSourceMode="DataReader" SelectCommand="SELECT storyDate,
Title,
Short, ArticleID FROM news ORDER BY storyDate DESC">
</asp:AccessDataSource>
Can anyone help me out with how I go by doing this?
Thanks
Bob

I don't recall but trust your saying you've determined JET
does not provide
native support for the RFC-822 format which you correctly
surmise is the
only format proven to be supported by the majority of
aggregators. Your
current date is non-compliant.
The best solution is to upsize to SQL Server which provides
native support
for RFC-822. Meanwhile, you do not need an RFC-822 compliant
data type per
se so use a text data type and build compliance using your
server-side code.
You also want to know about the Advisory Board website [1]
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL
http://clintongallagher.metromilwaukee.com/
[1]
http://www.rssboard.org/rss-specification
"Bob" <[email protected]> wrote in message
news:f588ej$3i3$[email protected]..
> I've set up an rss feed using the example on
>
http://www.geekpedia.com/tutorial157_Create-an-RSS-feed-using-ASP.NET-2.0.html
>
> However I use MS Access db and I would like to have the
right date format
> which I belive is RFC-822.
>
> I'm in Europe and currently my date output looks like
this
> <pubDate>18-06-2007 20:51:19</pubDate>
>
> <asp:AccessDataSource ID="AccessDataSource1"
runat="server"
> DataFile="d:\web\database\news.mdb"
> DataSourceMode="DataReader" SelectCommand="SELECT
storyDate,
> Title,
> Short, ArticleID FROM news ORDER BY storyDate DESC">
> </asp:AccessDataSource>
>
> Can anyone help me out with how I go by doing this?
>
> Thanks
> Bob
>
>
>
>

Similar Messages

  • How to convert generated mail into rfc-822 valid format

    Hello everybody,
    for our customer we generate email addresses, for example  [email protected]
    Regards
    Georg

    Hello everybody,
    for our customer we generate email addresses, for example  [email protected]
    Regards
    Georg

  • Problem with the Date format and sending it to R/3

    Hi all,
    I have an Adaptive RFC application which fetches the data from the R/3 and displays the Employee's Personal Data.
    I am using a ZFM which is customised as per the requirement from the Standard BAPI_EMPLOYEE_GETDATA.
    Now the Problem i am facing is Date is default and Optional Parameter in RFC.
    If i execute the RFC in R/3 without Date it is not filling the Internal Tables. And if i pass the Date it is filling the Internal Table and fetches the Records.
    So in WD application i am inputing Employee FirstName, LastName or the Employee ID.
    User can give any of the above input or combination of FirstName and LastName Or only the Employee ID.
    Now the Main Problem is of Date which is of type Date.
    I have also tried the SimpleDateFormat Class, but i am not able to achieve the result.
    I have also seen the Links and threads on SDN, but unable to solve the problem.
    So pls help me out asap.
    Thanks & Regards,
    Dhruv Shah

    Hi ,
    By default , RFC accept date format of SQL date (yyyy-mm-dd) . If you are using a date picker from WD, it directly set the date in SQL date format. Incase if you are trying to pass date to RFC in some other way you have to convert that into SQL date format before passing.
    if you are passing String date of format dd-mm-yyyy , you try this method to convert that to SQL date and pass to your RFC.
    public java.sql.Date sqlDateConvert( String date)  {
        //@@begin sqlDateConvert()
         java.sql.Date dateObj=null;
         try{     
              StringTokenizer tempStringTokenizer = new StringTokenizer(""+date,"-");          int dd=Integer.parseInt(tempStringTokenizer.nextToken().trim());
                                    int mm=Integer.parseInt(tempStringTokenizer.nextToken().trim());
              mm=mm-1;
              int yyyy=Integer.parseInt(tempStringTokenizer.nextToken().trim());
              Calendar cal =Calendar.getInstance();   
              cal.set(yyyy,mm,dd);                         
              dateObj = new java.sql.Date( cal.getTime().getTime());
         }catch(Exception e)
              return dateObj;
    Hope this will help you.

  • How do I open attached pictures that are RFC-822 or end with a .eml?

    The attachment is RFC-822 data and ends with .eml
    I cannot open it...here is the top portion of the email it came with.
    Received: from 209.86.226.40 by webmail.peoplepc.com with HTTP; Tue, 9 Aug 2011 23:08:15 -0400
    Message-ID: <[email protected]k.net>
    Date: Tue, 9 Aug 2011 20:08:15 -0700 (GMT-07:00)
    From: mary and dave <[email protected]>
    Reply-To: mary and dave <[email protected]>
    To: carol walters <[email protected]>
    Subject: mary
    Mime-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 7bit
    X-Mailer: EarthLink Zoo Mail 1.0

    Save the '''.eml''' Files and Open them in Firefox using the following method:
    -> Tap ALT key or press F10 to show the Menu bar
    -> go to File Menu -> click '''Open File...''' -> select a '''.eml''' file and hit Enter
    Check and tell if its working.

  • Date formating issue

    Hi All,
    I am receiving the Begin Date and End date from one of the RFCs and then using these dates for the import parameters of another RFC.
    But the second RFC receives the dates either in YYYYMMDD or DD.MM.YYYY format.
    The BeginDate and EndDate of the first RFC are binded to two input fileds so they appear as Date pickers in the runtime.
    As I select the date range , I need to execute the second RFC before submition and so the Import of the Second RFC should receive the date range .
    I have gone through many Forum threads but the way they are suggesting, returns me no right result. If I follow the Simple date Format, I parse the date and have a String output which the second RFC does not accept.
    And if I assign the parsed value to the a Date type then I receive a null value for the same. I need your help , please suggest and guide.
    Regards
    DK

    Hi Mohanthy,
    As you told, BeginDate and EndDate of the first RFC are binded to two input fileds and the values of BeginDate and EndDate has to be sent as input fields to another RFC.
    Just get the values from the node generated by first rfc and set them to the i/p node of second rfc.
    Date Format should not be  a issue in this case and for your information the date which is used by RFC is Java.SQL.DATE Class.
    Regards,
    Kiran Kumar

  • I receive a lot of attachments with RFC-822 format. How do I open thes?

    Most of these RFC-822 attachments are asking which program would like to use to open. Most are from Google

    RFC 822 is an MIME type created in 1982 and no longer in general use. See this Wikipedia article: http://en.wikipedia.org/wiki/List_of_RFCs
    The Nimda worm is known to use that format to propagate itself without user intervention by copying email addresses from the user's address book. If you're receiving attachments but don't know the sender, then it could be an indication that their PC is infected by this virus. Even if you know the sender, it would be wise to check with them in order to determine whether they intentionally sent you an attachment or not.
    More on the Nimda worm here: http://www.f-secure.com/v-descs/nimda.shtml<br><br>
    For your own peace of mind, run a full system scan with your antivirus program. If you haven't got one, you can get Avast AV free from here: http://www.avast.com/free-antivirus-download (''I use this one myself'').
    Also, download the free version of Malwarebytes as an added precaution: http://www.malwarebytes.org/products/malwarebytes_free
    If this answers your question, please click the '''Solved it''' button next to this post after you log in into the forum. This will help others searching for a solution to the same thing.
    Thanks.

  • Regarding a date format

    Dear All,
    I have a doubt regarding date formats.
    i have a date = Wed Jun 24 00:00:00 GMT+300 2009
    i want to convert this date in to 24.06.2009
    What i tried is
    SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM d HH:mm:ss Z yyyy");
    Date convertedDate = dateFormat.parse(value);
    SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yyyy");
    String date = sdf.format(convertedDate);
    System.out.println(date);But my output was 24.06.0300Some thing happened to my Year field .
    Please help me to solve this ....
    Thanks and Regards,

    shashi_rajak wrote:
    "Wed Jun 24 00:00:00 GMT+300 2009" definetely it is not in "General time zone" and "RFC 822 time zone format". But the [SimpleDateFormat api|http://java.sun.com/javase/6/docs/api/java/text/SimpleDateFormat.html] tell this also
    SimpleDateFormat also supports localized date and time pattern strings. In these strings, the pattern letters described above may be replaced with other, locale dependent, pattern letters. SimpleDateFormat does not deal with the localization of text other than the pattern letters; that's up to the client of the class.
    That's not saying anything about changing what the various bits do, though. It's just saying that a particular Locale might use a different letter sequence to represent hours..."XX" instead of "HH", for example. But the Locale equivalent of "z" would still expect the format "GMT+3:00".
    hey sha_2008 can you tell what values these methods " toLocalizedPattern()" and " toPattern()" returns on SimpleDateFormat object which created the "Wed Jun 24 00:00:00 GMT+300 2009" string.The OP hasn't mentioned anything about how he got the original date string, so we can't assume it came from another SimpleDateFormat object. In fact, it clearly hasn't.

  • How to get Date Format from Local Object.

    Hi All,
    I am new to Web Channel.
    I need to know Date format From date of locale.
    suppose there is a date "01/25/2010" date in date field I want to get string "mm/dd/yyyy". Actually I have to pass date format to backend when I call RFC. 
    Is there any way to get Date format from "Locale" object. I should get date format for local object
    I get local object from "UserSessionData" object but how to get Date format from it.
    I am not looking for Date value. I am looking for current local date format ("mm/dd/yyyy or dd/mm/yyyy or mon/dd/yyyy) whatever local date format.  I could not find example which show how to get date format from "Locale" object.
    Any help will be appreciated with rewards.
    Regards.
    Web Channel

    Hi,
    You can get it from "User" or "Shop" business object.
    Try to get User or Shop Business Object as shown below.
    BusinessObjectManager bom = (BusinessObjectManager) userSessionData.getBOM(BusinessObjectManager.ISACORE_BOM);
    User user = bom.getUser();
    char decimalNotation = user.getDecimalPointFormat().getGroupingSeparator();
    If you are seeing "1,234.00" then above code will return "."
    I hope this information help you to resolve your issue.
    eCommerce Developer.

  • Date Format was not displayed correctly

    Hi All,
            We are developing WebDynpro Application successfully....but the date format was not displayed correctly.
    the RFC Date format is : 05/23/2007
    but in webdynpro we are getting date is wrong....we are getting date is : 09/05/2008.
    the below one is our coding for date display format.....
    public java.lang.String DisplayingDateFormat( java.lang.String date )
        //@@begin DisplayingDateFormat()
                        // Current date Format in BW
    SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
    String ChangedDateFormat=null;
    try{
    //Parsing String to Date
    Date sqlDate =sdf.parse(date);
    Locale userLocale=WDClientUser.getCurrentUser().getLocale();
    DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, userLocale);
    //Converting Date to String
    String newDateString = dateFormat.format(sqlDate);
    ChangedDateFormat=newDateString;
    I mention my user country is Germany.
    can u tell me any one why we are getting wrong date.....
    Really i appreciate.
    Thanks and Regards,
    Abhiram.

    Too bad you can not offer yourself points. LOL

  • Deserializing error for the Data format

    Hi,
    We have created a RFC FM. Which will be call from other non-sap system.
    Where other non-sap system was using dot net.
    While they are calling our custom RFC there are getting a problem with date format. The error says as follows
    - <n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
                <MainName>/1BCDWB/WSS0070718161009712605</MainName>
                 <ProgName>/1BCDWB/WSS0070718161009712605</ProgName>
                 <Line>74</Line>
                 <Valid>X</Valid>
    - <DeserialisationFault>
                <DescriptionText>An error occurred when deserializing in the simple transformation program /1BCDWB/WSS0070718161009712605</DescriptionText>
                 <DescriptionDetailText>The date 20060728 is not a valid date according to the XML format for ABAP</DescriptionDetailText>
                <TreePosition />
                <ClassName>CX_SY_CONVERSION_NO_DATE_TIME</ClassName>
                </DeserialisationFault>
    - <Caller>
                <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
                <Method>IF_SXML_PART~DECODE</Method>
                <Positions>1</Positions>
                </Caller>
      </n0:SimpleTransformationFault>
    Could any one help me out regarding this deserialize error with date from?
    Thanks in Advance
    Regards,
    Gopinath Addepalli.

    I believe you may still have issues with your migration. I would first verify that you can perform some basic functions with PWA:
    1) Create, save and publish a new project from browser.
    2) Edit, save and publish one of the migrated projects.
    3) Before doing the migration, do you have all the approvals completed and projects published.
    4) Clear out your cache and try a different project to open.
    5) Open Server Settings, go to Delete Objects and see if your projects are listed for deletion.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Date format in user master record cannot be interpreted

    When running an Infopackage from BW to an R/3 customer extractor, the R/3 job cancels with this error message, "Date format in user master record cannot be interpreted". I can restart the R/3 job program from the ABAP editor screen using the same variant that BW issued and the job runs without cancelling.
    NOTE: This process runs without any errors on our QAS system.
    Any idea what causes this error message and how I can fix it?

    Hi Alan,
    I have resolved this issue by myself. Same just like yours mine is also a custom Datasource.
    Solution for this is go to source system check your Background user id i.e like BWALEREMOTE or ALEREMOTE which ever id you have created for setting up RFC connection between R/3 & BW. Check your Date format which has been set for your background user. Use the second format mm/dd/yy. Then run your extraction you will not face any problem.
    If you still have any problem do let me know. If this solution helps you assign points.
    Regards,
    Bhuvana.

  • Change date format

    Hi,
    I imported RFC model in Web Dynpro application. One of imported fields is date.
    I'll like to change date format.
    How I can changed it?
    Thanks
        Vedran

    how did you do it?

  • Wrong ELF data format: ELFDATA2LSB

    Dear,
    I get the following error when executing a java program.
    Does somebody know what does mean "wrong ELF data format"?
    thanks for you help
    Internal exception:
    java.lang.UnsatisfiedLinkError: /export/home/mComm/lib/libtibrvj.so: ld.so.1: /bin/../java/bin/../bin/sparc/native_threads/java: fatal: /export/home/mComm/lib/libtibrvj.so: wrong ELF data format: ELFDATA2LSB
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1414)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1338)
    at java.lang.Runtime.loadLibrary0(Runtime.java:744)
    at java.lang.System.loadLibrary(System.java:815)
    at com.tibco.tibrv.Tibrv.loadLib(Tibrv.java:435)
    at com.tibco.tibrv.Tibrv.open(Tibrv.java:252)
    at cmsender.<init>(cmsender.java:89)
    at cmsender.main(cmsender.java:320)

    At the risk of being an AOLer, me too.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /export/home/ematrix/
    rmi/bin/solaris4/libeMatrix.so: ld.so.1: /usr/jdk/instances/jdk1.5.0/bin/java: f
    atal: /export/home/ematrix/rmi/bin/solaris4/libeMatrix.so: wrong ELF data format
    : ELFDATA2MSB
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:992)
            at com.matrixone.jni.MatrixKernel.getKernel(MatrixKernel.java:42)
            at matrix.util.ComputedClassPath.main(ComputedClassPath.java:77)

  • Wrong ELF data format

    Hi,
    Platform : Solaris x86
    Weblogic: 8.1 SP3
    I'm installing Weblogic server and after configuring a single domain I get the following exception at startup:
    The WebLogic Server did not start up properly.
    java.lang.UnsatisfiedLinkError: /usr/local/weblogic/weblogic81/server/lib/solaris/libweblogicunix1.so: ld.so.1: /usr/j2se/bin/java: fatal: /usr/local/weblogic/weblogic81/server/lib/solaris/libweblogicunix1.so: wrong ELF data format: ELFDATA2MSB
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at weblogic.platform.Unix.<init>(Unix.java:14)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:116)
    at weblogic.t3.srvr.SetUIDManager.init(SetUIDManager.java:51)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:777)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    Reason: /usr/local/weblogic/weblogic81/server/lib/solaris/libweblogicunix1.so: ld.so.1: /usr/j2se/bin/java: fatal: /usr/local/weblogic/weblogic81/server/lib/solaris/libweblogicunix1.so: wrong ELF data format: ELFDATA2MSB
    I did a quick search on here and the closest explanation I can find as an unsupported version. However I took my installer from here.
    http://e-docs.bea.com/platform/suppconfigs/configs81/solaris9_x86/81sp3.html

    At the risk of being an AOLer, me too.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /export/home/ematrix/
    rmi/bin/solaris4/libeMatrix.so: ld.so.1: /usr/jdk/instances/jdk1.5.0/bin/java: f
    atal: /export/home/ematrix/rmi/bin/solaris4/libeMatrix.so: wrong ELF data format
    : ELFDATA2MSB
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:992)
            at com.matrixone.jni.MatrixKernel.getKernel(MatrixKernel.java:42)
            at matrix.util.ComputedClassPath.main(ComputedClassPath.java:77)

  • Getting SAP user Date format

    Hi All,
    I have a webdynpro java application which i am using in ISA B2B. I need to show a date format of the backend user. Is there any way where i can fetch the SAP backend user date format in webdynpro java application using API. Kindly suggest me an idea on this?
    Thanks and Regards,
    Saravanan

    Hi Saravanan,
    You need to fetch data through RFC function module in webdynpro. You need costom build functiona module for user information.
    Refer to Linking [Remote Function Call to Web Dynpro - Model|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/761eba66-0401-0010-b982-d5f5bd9e8f90]
    Regards
    Arun Jaiswal

Maybe you are looking for